|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.mina.MinaEndpoint
public class MinaEndpoint
Endpoint for Camel MINA.
| Field Summary | |
|---|---|
static String |
HEADER_LOCAL_ADDRESS
Deprecated. |
static String |
HEADER_MINA_IOSESSION
Deprecated. |
static String |
HEADER_REMOTE_ADDRESS
Deprecated. |
| Constructor Summary | |
|---|---|
MinaEndpoint()
|
|
MinaEndpoint(String endpointUri,
MinaComponent component)
|
|
| Method Summary | |
|---|---|
Consumer |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
Exchange |
createExchange(org.apache.mina.common.IoSession session,
Object payload)
|
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint |
org.apache.mina.common.IoAcceptor |
getAcceptor()
|
org.apache.mina.common.IoAcceptorConfig |
getAcceptorConfig()
|
SocketAddress |
getAddress()
|
MinaConfiguration |
getConfiguration()
|
org.apache.mina.common.IoConnector |
getConnector()
|
org.apache.mina.common.IoConnectorConfig |
getConnectorConfig()
|
boolean |
isMultipleConsumersSupported()
Is multiple consumers supported? |
boolean |
isSingleton()
Whether this class supports being singleton or not. |
void |
setAcceptor(org.apache.mina.common.IoAcceptor acceptor)
|
void |
setAcceptorConfig(org.apache.mina.common.IoAcceptorConfig acceptorConfig)
|
void |
setAddress(SocketAddress address)
|
void |
setConfiguration(MinaConfiguration configuration)
|
void |
setConnector(org.apache.mina.common.IoConnector connector)
|
void |
setConnectorConfig(org.apache.mina.common.IoConnectorConfig connectorConfig)
|
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
|---|
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
|---|
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Field Detail |
|---|
@Deprecated public static final transient String HEADER_MINA_IOSESSION
@Deprecated public static final transient String HEADER_LOCAL_ADDRESS
@Deprecated public static final transient String HEADER_REMOTE_ADDRESS
| Constructor Detail |
|---|
public MinaEndpoint()
public MinaEndpoint(String endpointUri,
MinaComponent component)
| Method Detail |
|---|
public Producer createProducer()
throws Exception
Endpoint
createProducer in interface EndpointException - can be thrown
public Consumer createConsumer(Processor processor)
throws Exception
Endpoint
createConsumer in interface Endpointprocessor - the given processor
Exception - can be thrown
public Exchange createExchange(org.apache.mina.common.IoSession session,
Object payload)
public boolean isSingleton()
IsSingleton
isSingleton in interface IsSingletonpublic boolean isMultipleConsumersSupported()
MultipleConsumersSupport
isMultipleConsumersSupported in interface MultipleConsumersSupportpublic MinaConfiguration getConfiguration()
public void setConfiguration(MinaConfiguration configuration)
public SocketAddress getAddress()
public void setAddress(SocketAddress address)
public org.apache.mina.common.IoAcceptor getAcceptor()
public void setAcceptor(org.apache.mina.common.IoAcceptor acceptor)
public org.apache.mina.common.IoConnector getConnector()
public void setConnector(org.apache.mina.common.IoConnector connector)
public org.apache.mina.common.IoAcceptorConfig getAcceptorConfig()
public void setAcceptorConfig(org.apache.mina.common.IoAcceptorConfig acceptorConfig)
public org.apache.mina.common.IoConnectorConfig getConnectorConfig()
public void setConnectorConfig(org.apache.mina.common.IoConnectorConfig connectorConfig)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||