@ManagedResource(description="Managed Camel Broker Endpoint")
@UriEndpoint(scheme="broker",
consumerClass=BrokerConsumer.class)
public class BrokerEndpoint
extends org.apache.camel.impl.DefaultEndpoint
implements org.apache.camel.MultipleConsumersSupport, org.apache.camel.Service
| Constructor and Description |
|---|
BrokerEndpoint(java.lang.String uri,
BrokerComponent component,
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() |
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, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic BrokerEndpoint(java.lang.String uri,
BrokerComponent component,
ActiveMQDestination destination,
BrokerConfiguration configuration)
public org.apache.camel.Producer createProducer()
throws java.lang.Exception
createProducer in interface org.apache.camel.Endpointjava.lang.Exceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws java.lang.Exception
createConsumer in interface org.apache.camel.Endpointjava.lang.Exceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic boolean isMultipleConsumersSupported()
isMultipleConsumersSupported in interface org.apache.camel.MultipleConsumersSupportpublic ActiveMQDestination getDestination()
protected void doStart()
throws java.lang.Exception
doStart in class org.apache.camel.impl.DefaultEndpointjava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class org.apache.camel.impl.DefaultEndpointjava.lang.Exceptionprotected void addMessageInterceptor(MessageInterceptor messageInterceptor)
protected void removeMessageInterceptor(MessageInterceptor messageInterceptor)
protected void inject(ProducerBrokerExchange producerBrokerExchange, Message message) throws java.lang.Exception
java.lang.ExceptionCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.