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 voidaddHandler(org.apache.synapse.commons.handlers.MessagingHandler handler)StringgetClassImpl()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()StringgetInjectingSeq()Get the sequence which message should be dispatched toStringgetName()Get the name of the inbound endpointStringgetOnErrorSeq()Get the sequence which get invoked when something goes wrong in InboundEndpointPropertiesgetProperties()Get the properties associated with the InboundEndpointStringgetProtocol()Protocol of inbound endpoint.SynapseEnvironmentgetSynapseEnvironment()Get the synapse environmentvoidsetClassImpl(String classImpl)Set the custom class implementation of InboundEndpointvoidsetInjectingSeq(String injectingSeq)Set the sequence which message should be dispatched tovoidsetName(String name)Set the name of the inbound endpointvoidsetOnErrorSeq(String onErrorSeq)Set the sequence which get invoked when something goes wrong in InboundEndpointvoidsetProperties(Properties properties)Set properties for InboundEndpointvoidsetProtocol(String protocol)Set the protocol of the Inbound EndpointvoidsetSynapseEnvironment(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)
-
-