@ManagedResource(description="Managed Camel Broker Endpoint") @UriEndpoint(scheme="broker", syntax="broker:destination", consumerClass=BrokerConsumer.class, title="Broker", label="messaging") public class BrokerEndpoint extends org.apache.camel.impl.DefaultEndpoint implements org.apache.camel.MultipleConsumersSupport, org.apache.camel.Service
Constructor and Description |
---|
BrokerEndpoint(String uri,
BrokerComponent component,
String destinationName,
ActiveMQDestination destination,
BrokerConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
addMessageInterceptor(MessageInterceptor messageInterceptor) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
protected void |
doStop() |
ActiveMQDestination |
getDestination() |
String |
getDestinationName()
The name of the JMS destination
|
protected void |
inject(ProducerBrokerExchange producerBrokerExchange,
Message message) |
boolean |
isMultipleConsumersSupported() |
boolean |
isSingleton() |
protected void |
removeMessageInterceptor(MessageInterceptor messageInterceptor) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public BrokerEndpoint(String uri, BrokerComponent component, String destinationName, ActiveMQDestination destination, BrokerConfiguration configuration)
public org.apache.camel.Producer createProducer() throws Exception
createProducer
in interface org.apache.camel.Endpoint
Exception
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
createConsumer
in interface org.apache.camel.Endpoint
Exception
public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
public boolean isMultipleConsumersSupported()
isMultipleConsumersSupported
in interface org.apache.camel.MultipleConsumersSupport
public ActiveMQDestination getDestination()
public String getDestinationName()
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultEndpoint
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultEndpoint
Exception
protected void addMessageInterceptor(MessageInterceptor messageInterceptor)
protected void removeMessageInterceptor(MessageInterceptor messageInterceptor)
protected void inject(ProducerBrokerExchange producerBrokerExchange, Message message) throws Exception
Exception
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.