@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, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic 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.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 ActiveMQDestination getDestination()
public String getDestinationName()
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(MessageInterceptor messageInterceptor)
protected void removeMessageInterceptor(MessageInterceptor messageInterceptor)
protected void inject(ProducerBrokerExchange producerBrokerExchange, Message message) throws Exception
ExceptionCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.