org.apache.camel.component.spring.integration
Class SpringIntegrationEndpoint
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.spring.integration.SpringIntegrationEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint, IsSingleton, Service, ShutdownableService, HasId
public class SpringIntegrationEndpoint
- extends DefaultEndpoint
Defines the Spring Integration Endpoint
- Version:
| 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 |
SpringIntegrationEndpoint
public SpringIntegrationEndpoint(String uri,
String channel,
SpringIntegrationComponent component)
SpringIntegrationEndpoint
public SpringIntegrationEndpoint(String uri,
org.springframework.integration.MessageChannel channel,
CamelContext context)
SpringIntegrationEndpoint
public SpringIntegrationEndpoint(String endpointUri,
org.springframework.integration.MessageChannel messageChannel)
createProducer
public Producer createProducer()
throws Exception
- Description copied from interface:
Endpoint
- Creates a new producer which is used send messages into the endpoint
- Returns:
- a newly created producer
- Throws:
Exception - can be thrown
createConsumer
public Consumer createConsumer(Processor processor)
throws Exception
- Description copied from interface:
Endpoint
- Creates a new Event
Driven Consumer which consumes messages from the endpoint using the
given processor
- Parameters:
processor - the given processor
- Returns:
- a newly created consumer
- Throws:
Exception - can be thrown
setInputChannel
public void setInputChannel(String input)
getInputChannel
public String getInputChannel()
setOutputChannel
public void setOutputChannel(String output)
getOutputChannel
public String getOutputChannel()
getDefaultChannel
public String getDefaultChannel()
getMessageChannel
public org.springframework.integration.MessageChannel getMessageChannel()
isSingleton
public boolean isSingleton()
- Description copied from interface:
IsSingleton
- Whether this class supports being singleton or not.
- Returns:
- true to be a single shared instance, false to create new instances.
setInOut
public void setInOut(boolean inOut)
isInOut
public boolean isInOut()
Apache CAMEL