@Component(value="spring-rabbitmq")
public class SpringRabbitMQComponent
extends org.apache.camel.support.HeaderFilterStrategyComponent
Constructor and Description |
---|
SpringRabbitMQComponent() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
doInit() |
org.springframework.amqp.core.AmqpAdmin |
getAmqpAdmin() |
int |
getConcurrentConsumers() |
org.springframework.amqp.rabbit.connection.ConnectionFactory |
getConnectionFactory() |
String |
getDeadLetterExchange() |
String |
getDeadLetterExchangeType() |
String |
getDeadLetterQueue() |
String |
getDeadLetterRoutingKey() |
org.springframework.util.ErrorHandler |
getErrorHandler() |
ListenerContainerFactory |
getListenerContainerFactory() |
Integer |
getMaxConcurrentConsumers() |
int |
getMaximumRetryAttempts() |
org.springframework.amqp.support.converter.MessageConverter |
getMessageConverter() |
String |
getMessageListenerContainerType() |
MessagePropertiesConverter |
getMessagePropertiesConverter() |
int |
getPrefetchCount() |
long |
getReplyTimeout() |
org.springframework.retry.interceptor.RetryOperationsInterceptor |
getRetry() |
int |
getRetryDelay() |
long |
getShutdownTimeout() |
boolean |
isAllowNullBody() |
boolean |
isAutoDeclare() |
boolean |
isAutoStartup() |
boolean |
isIgnoreDeclarationExceptions() |
boolean |
isRejectAndDontRequeue() |
boolean |
isTestConnectionOnStartup() |
void |
setAllowNullBody(boolean allowNullBody) |
void |
setAmqpAdmin(org.springframework.amqp.core.AmqpAdmin amqpAdmin) |
void |
setAutoDeclare(boolean autoDeclare) |
void |
setAutoStartup(boolean autoStartup) |
void |
setConcurrentConsumers(int concurrentConsumers) |
void |
setConnectionFactory(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory) |
void |
setDeadLetterExchange(String deadLetterExchange) |
void |
setDeadLetterExchangeType(String deadLetterExchangeType) |
void |
setDeadLetterQueue(String deadLetterQueue) |
void |
setDeadLetterRoutingKey(String deadLetterRoutingKey) |
void |
setErrorHandler(org.springframework.util.ErrorHandler errorHandler) |
void |
setIgnoreDeclarationExceptions(boolean ignoreDeclarationExceptions) |
void |
setListenerContainerFactory(ListenerContainerFactory listenerContainerFactory) |
void |
setMaxConcurrentConsumers(Integer maxConcurrentConsumers) |
void |
setMaximumRetryAttempts(int maximumRetryAttempts) |
void |
setMessageConverter(org.springframework.amqp.support.converter.MessageConverter messageConverter) |
void |
setMessageListenerContainerType(String messageListenerContainerType) |
void |
setMessagePropertiesConverter(MessagePropertiesConverter messagePropertiesConverter) |
void |
setPrefetchCount(int prefetchCount) |
void |
setRejectAndDontRequeue(boolean rejectAndDontRequeue) |
void |
setReplyTimeout(long replyTimeout) |
void |
setRetry(org.springframework.retry.interceptor.RetryOperationsInterceptor retry) |
void |
setRetryDelay(int retryDelay) |
void |
setShutdownTimeout(long shutdownTimeout) |
void |
setTestConnectionOnStartup(boolean testConnectionOnStartup) |
getHeaderFilterStrategy, setEndpointHeaderFilterStrategy, setHeaderFilterStrategy
afterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
build, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected void doInit() throws Exception
doInit
in class org.apache.camel.support.DefaultComponent
Exception
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.support.DefaultComponent
Exception
public org.springframework.amqp.rabbit.connection.ConnectionFactory getConnectionFactory()
public void setConnectionFactory(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
public org.springframework.amqp.core.AmqpAdmin getAmqpAdmin()
public void setAmqpAdmin(org.springframework.amqp.core.AmqpAdmin amqpAdmin)
public boolean isTestConnectionOnStartup()
public void setTestConnectionOnStartup(boolean testConnectionOnStartup)
public org.springframework.amqp.support.converter.MessageConverter getMessageConverter()
public void setMessageConverter(org.springframework.amqp.support.converter.MessageConverter messageConverter)
public MessagePropertiesConverter getMessagePropertiesConverter()
public void setMessagePropertiesConverter(MessagePropertiesConverter messagePropertiesConverter)
public boolean isAutoStartup()
public void setAutoStartup(boolean autoStartup)
public boolean isAutoDeclare()
public void setAutoDeclare(boolean autoDeclare)
public String getDeadLetterExchange()
public void setDeadLetterExchange(String deadLetterExchange)
public String getDeadLetterQueue()
public void setDeadLetterQueue(String deadLetterQueue)
public String getDeadLetterRoutingKey()
public void setDeadLetterRoutingKey(String deadLetterRoutingKey)
public String getDeadLetterExchangeType()
public void setDeadLetterExchangeType(String deadLetterExchangeType)
public org.springframework.util.ErrorHandler getErrorHandler()
public void setErrorHandler(org.springframework.util.ErrorHandler errorHandler)
public int getPrefetchCount()
public void setPrefetchCount(int prefetchCount)
public long getReplyTimeout()
public void setReplyTimeout(long replyTimeout)
public long getShutdownTimeout()
public void setShutdownTimeout(long shutdownTimeout)
public ListenerContainerFactory getListenerContainerFactory()
public void setListenerContainerFactory(ListenerContainerFactory listenerContainerFactory)
public boolean isIgnoreDeclarationExceptions()
public void setIgnoreDeclarationExceptions(boolean ignoreDeclarationExceptions)
public String getMessageListenerContainerType()
public void setMessageListenerContainerType(String messageListenerContainerType)
public int getConcurrentConsumers()
public void setConcurrentConsumers(int concurrentConsumers)
public Integer getMaxConcurrentConsumers()
public void setMaxConcurrentConsumers(Integer maxConcurrentConsumers)
public org.springframework.retry.interceptor.RetryOperationsInterceptor getRetry()
public void setRetry(org.springframework.retry.interceptor.RetryOperationsInterceptor retry)
public int getMaximumRetryAttempts()
public void setMaximumRetryAttempts(int maximumRetryAttempts)
public int getRetryDelay()
public void setRetryDelay(int retryDelay)
public boolean isRejectAndDontRequeue()
public void setRejectAndDontRequeue(boolean rejectAndDontRequeue)
public boolean isAllowNullBody()
public void setAllowNullBody(boolean allowNullBody)
Apache Camel