Package org.apache.camel.component.sjms2
Class Sjms2Endpoint
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.apache.camel.component.sjms.SjmsEndpoint
org.apache.camel.component.sjms2.Sjms2Endpoint
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.AsyncEndpoint
,org.apache.camel.CamelContextAware
,org.apache.camel.ComponentAware
,org.apache.camel.Endpoint
,org.apache.camel.IsSingleton
,org.apache.camel.MultipleConsumersSupport
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.spi.HasCamelContext
,org.apache.camel.spi.HasId
,org.apache.camel.spi.HeaderFilterStrategyAware
,org.apache.camel.StatefulService
,org.apache.camel.SuspendableService
@UriEndpoint(firstVersion="2.19.0",
scheme="sjms2",
extendsScheme="sjms",
title="Simple JMS2",
syntax="sjms2:destinationType:destinationName",
category=MESSAGING,
headersClass=org.apache.camel.component.sjms.SjmsConstants.class)
public class Sjms2Endpoint
extends org.apache.camel.component.sjms.SjmsEndpoint
implements org.apache.camel.AsyncEndpoint
Send and receive messages to/from a JMS Queue or Topic using plain JMS 2.x API.
This component uses plain JMS 2.x API where as the jms component uses Spring JMS.
-
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
-
Constructor Summary
ConstructorDescriptionSjms2Endpoint
(String uri, org.apache.camel.Component component, String remaining) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isShared()
void
setDurable
(boolean durable) void
setDurableSubscriptionName
(String durableSubscriptionId) void
setShared
(boolean shared) void
setSubscriptionId
(String subscriptionId) Methods inherited from class org.apache.camel.component.sjms.SjmsEndpoint
configuredQoS, configureMessageListener, createBinding, createConsumer, createExchange, createInOnlyTemplate, createInOutTemplate, createMessageListenerContainer, createPollingConsumer, createProducer, doInit, getAcknowledgementMode, getAsyncStartStopExecutorService, getBinding, getClientId, getConcurrentConsumers, getConnectionFactory, getDeliveryMode, getDestinationCreationStrategy, getDestinationName, getDurableSubscriptionName, getEagerPoisonBody, getEndpointConfiguredDestinationName, getExceptionListener, getExplicitQosEnabled, getHeaderFilterStrategy, getJmsKeyFormatStrategy, getJmsObjectFactory, getMessageCreatedStrategy, getMessageSelector, getPriority, getRecoveryInterval, getReplyTo, getReplyToConcurrentConsumers, getReplyToOverride, getReplyToType, getRequestTimeout, getTimeToLive, isAllowNullBody, isAsyncConsumer, isAsyncStartListener, isAsyncStopListener, isAutoStartup, isDeliveryPersistent, isDisableReplyTo, isDisableTimeToLive, isEagerLoadingOfProperties, isExplicitQosEnabled, isIncludeAllJMSXProperties, isMapJmsMessage, isMultipleConsumersSupported, isPreserveMessageQos, isReplyToDeliveryPersistent, isReplyToSameDestinationAllowed, isSynchronous, isTestConnectionOnStartup, isTopic, isTransacted, isTransferException, setAcknowledgementMode, setAllowNullBody, setAsyncConsumer, setAsyncStartListener, setAsyncStopListener, setAutoStartup, setBinding, setClientId, setConcurrentConsumers, setConnectionFactory, setDeliveryMode, setDeliveryPersistent, setDestinationCreationStrategy, setDestinationName, setDisableReplyTo, setDisableTimeToLive, setEagerLoadingOfProperties, setEagerPoisonBody, setExceptionListener, setExplicitQosEnabled, setHeaderFilterStrategy, setIncludeAllJMSXProperties, setJmsKeyFormatStrategy, setJmsObjectFactory, setMapJmsMessage, setMessageCreatedStrategy, setMessageSelector, setPreserveMessageQos, setPriority, setRecoveryInterval, setReplyTo, setReplyToConcurrentConsumers, setReplyToDeliveryPersistent, setReplyToOverride, setReplyToSameDestinationAllowed, setReplyToType, setRequestTimeout, setSynchronous, setTestConnectionOnStartup, setTimeToLive, setTransacted, setTransferException
Methods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toString
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, doStop, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.camel.ComponentAware
getComponent, setComponent
Methods inherited from interface org.apache.camel.Endpoint
configureExchange, configureProperties, createAsyncProducer, createConsumer, createExchange, createExchange, createPollingConsumer, createProducer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContext
Methods inherited from interface org.apache.camel.IsSingleton
isSingleton
Methods inherited from interface org.apache.camel.Service
build, close, init, start, stop
Methods inherited from interface org.apache.camel.ShutdownableService
shutdown
Methods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
Sjms2Endpoint
public Sjms2Endpoint() -
Sjms2Endpoint
-
-
Method Details
-
getComponent
- Specified by:
getComponent
in interfaceorg.apache.camel.ComponentAware
- Overrides:
getComponent
in classorg.apache.camel.component.sjms.SjmsEndpoint
-
setDurableSubscriptionName
- Overrides:
setDurableSubscriptionName
in classorg.apache.camel.component.sjms.SjmsEndpoint
-
getSubscriptionId
-
setSubscriptionId
-
isDurable
public boolean isDurable() -
setDurable
public void setDurable(boolean durable)
-