org.apache.camel.component.mina
Class MinaEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.mina.MinaEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint, IsSingleton, MultipleConsumersSupport
public class MinaEndpoint
- extends DefaultEndpoint
- implements MultipleConsumersSupport
Endpoint for Camel MINA.
- Version:
- $Revision: 16508 $
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString |
HEADER_MINA_IOSESSION
public static final transient String HEADER_MINA_IOSESSION
- The key of the IoSession which is stored in the message header
- See Also:
- Constant Field Values
HEADER_LOCAL_ADDRESS
public static final transient String HEADER_LOCAL_ADDRESS
- The socket address of local machine that received the message.
- See Also:
- Constant Field Values
HEADER_REMOTE_ADDRESS
public static final transient String HEADER_REMOTE_ADDRESS
- The socket address of the remote machine that send the message.
- See Also:
- Constant Field Values
MinaEndpoint
public MinaEndpoint()
MinaEndpoint
public MinaEndpoint(String endpointUri,
MinaComponent component)
createProducer
public Producer createProducer()
throws Exception
- Specified by:
createProducer in interface Endpoint
- Throws:
Exception
createConsumer
public Consumer createConsumer(Processor processor)
throws Exception
- Specified by:
createConsumer in interface Endpoint
- Throws:
Exception
createExchange
public Exchange createExchange(org.apache.mina.common.IoSession session,
Object payload)
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface IsSingleton
isMultipleConsumersSupported
public boolean isMultipleConsumersSupported()
- Specified by:
isMultipleConsumersSupported in interface MultipleConsumersSupport
getConfiguration
public MinaConfiguration getConfiguration()
setConfiguration
public void setConfiguration(MinaConfiguration configuration)
getAddress
public SocketAddress getAddress()
setAddress
public void setAddress(SocketAddress address)
getAcceptor
public org.apache.mina.common.IoAcceptor getAcceptor()
setAcceptor
public void setAcceptor(org.apache.mina.common.IoAcceptor acceptor)
getConnector
public org.apache.mina.common.IoConnector getConnector()
setConnector
public void setConnector(org.apache.mina.common.IoConnector connector)
getAcceptorConfig
public org.apache.mina.common.IoAcceptorConfig getAcceptorConfig()
setAcceptorConfig
public void setAcceptorConfig(org.apache.mina.common.IoAcceptorConfig acceptorConfig)
getConnectorConfig
public org.apache.mina.common.IoConnectorConfig getConnectorConfig()
setConnectorConfig
public void setConnectorConfig(org.apache.mina.common.IoConnectorConfig connectorConfig)
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.