@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(String uri,
BrokerComponent component,
org.apache.activemq.command.ActiveMQDestination destination,
BrokerConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMessageInterceptor(org.apache.activemq.broker.inteceptor.MessageInterceptor messageInterceptor) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
protected void |
doStop() |
org.apache.activemq.command.ActiveMQDestination |
getDestination() |
protected void |
inject(org.apache.activemq.broker.ProducerBrokerExchange producerBrokerExchange,
org.apache.activemq.command.Message message) |
boolean |
isMultipleConsumersSupported() |
boolean |
isSingleton() |
protected void |
removeMessageInterceptor(org.apache.activemq.broker.inteceptor.MessageInterceptor messageInterceptor) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic BrokerEndpoint(String uri, BrokerComponent component, org.apache.activemq.command.ActiveMQDestination destination, BrokerConfiguration configuration)
public org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic boolean isMultipleConsumersSupported()
isMultipleConsumersSupported in interface org.apache.camel.MultipleConsumersSupportpublic org.apache.activemq.command.ActiveMQDestination getDestination()
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultEndpointExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.impl.DefaultEndpointExceptionprotected void addMessageInterceptor(org.apache.activemq.broker.inteceptor.MessageInterceptor messageInterceptor)
protected void removeMessageInterceptor(org.apache.activemq.broker.inteceptor.MessageInterceptor messageInterceptor)
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.