Package org.apache.synapse.inbound
Class InboundProcessorParams
- java.lang.Object
-
- org.apache.synapse.inbound.InboundProcessorParams
-
public class InboundProcessorParams extends Object
This is the entity which holds parameters which is related to an InboundEndpoint
-
-
Constructor Summary
Constructors Constructor Description InboundProcessorParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHandler(org.apache.synapse.commons.handlers.MessagingHandler handler)
String
getClassImpl()
Get the custom class implementation of InboundEndpoint This will return the FQN of the InboundEndpoint custom class implementation.List<org.apache.synapse.commons.handlers.MessagingHandler>
getHandlers()
String
getInjectingSeq()
Get the sequence which message should be dispatched toString
getName()
Get the name of the inbound endpointString
getOnErrorSeq()
Get the sequence which get invoked when something goes wrong in InboundEndpointProperties
getProperties()
Get the properties associated with the InboundEndpointString
getProtocol()
Protocol of inbound endpoint.SynapseEnvironment
getSynapseEnvironment()
Get the synapse environmentvoid
setClassImpl(String classImpl)
Set the custom class implementation of InboundEndpointvoid
setInjectingSeq(String injectingSeq)
Set the sequence which message should be dispatched tovoid
setName(String name)
Set the name of the inbound endpointvoid
setOnErrorSeq(String onErrorSeq)
Set the sequence which get invoked when something goes wrong in InboundEndpointvoid
setProperties(Properties properties)
Set properties for InboundEndpointvoid
setProtocol(String protocol)
Set the protocol of the Inbound Endpointvoid
setSynapseEnvironment(SynapseEnvironment synapseEnvironment)
Set the synapse environment
-
-
-
Method Detail
-
getName
public String getName()
Get the name of the inbound endpoint- Returns:
- name
-
setName
public void setName(String name)
Set the name of the inbound endpoint- Parameters:
name
- name of the endpoint
-
getProtocol
public String getProtocol()
Protocol of inbound endpoint. This may become null if classImpl is used- Returns:
- protocol of InboundEndpoint
-
setProtocol
public void setProtocol(String protocol)
Set the protocol of the Inbound Endpoint- Parameters:
protocol
- protocol name
-
getClassImpl
public String getClassImpl()
Get the custom class implementation of InboundEndpoint This will return the FQN of the InboundEndpoint custom class implementation.- Returns:
- FQN of class implementation
-
setClassImpl
public void setClassImpl(String classImpl)
Set the custom class implementation of InboundEndpoint- Parameters:
classImpl
- FQN of custom class implementation
-
getProperties
public Properties getProperties()
Get the properties associated with the InboundEndpoint- Returns:
- associated properties
-
setProperties
public void setProperties(Properties properties)
Set properties for InboundEndpoint- Parameters:
properties
- properties
-
getInjectingSeq
public String getInjectingSeq()
Get the sequence which message should be dispatched to- Returns:
- sequence name
-
setInjectingSeq
public void setInjectingSeq(String injectingSeq)
Set the sequence which message should be dispatched to- Parameters:
injectingSeq
- name of the sequence
-
getOnErrorSeq
public String getOnErrorSeq()
Get the sequence which get invoked when something goes wrong in InboundEndpoint- Returns:
- onError sequence for InboundEndpoint
-
setOnErrorSeq
public void setOnErrorSeq(String onErrorSeq)
Set the sequence which get invoked when something goes wrong in InboundEndpoint- Parameters:
onErrorSeq
- onError sequence name
-
getSynapseEnvironment
public SynapseEnvironment getSynapseEnvironment()
Get the synapse environment- Returns:
- synapse environment
-
setSynapseEnvironment
public void setSynapseEnvironment(SynapseEnvironment synapseEnvironment)
Set the synapse environment- Parameters:
synapseEnvironment
- synapse environment
-
getHandlers
public List<org.apache.synapse.commons.handlers.MessagingHandler> getHandlers()
-
addHandler
public void addHandler(org.apache.synapse.commons.handlers.MessagingHandler handler)
-
-