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.Endpoint
,org.apache.camel.IsSingleton
,org.apache.camel.MultipleConsumersSupport
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,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.
-
-
Constructor Summary
Constructors Constructor Description Sjms2Endpoint()
Sjms2Endpoint(String uri, org.apache.camel.Component component, String remaining)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sjms2Component
getComponent()
String
getSubscriptionId()
boolean
isDurable()
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, doStart, doStop, 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, 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.Endpoint
configureExchange, configureProperties, createAsyncProducer, createConsumer, createExchange, createExchange, createPollingConsumer, createProducer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContext
-
-
-
-
Method Detail
-
getComponent
public Sjms2Component getComponent()
- Overrides:
getComponent
in classorg.apache.camel.component.sjms.SjmsEndpoint
-
setDurableSubscriptionName
public void setDurableSubscriptionName(String durableSubscriptionId)
- Overrides:
setDurableSubscriptionName
in classorg.apache.camel.component.sjms.SjmsEndpoint
-
getSubscriptionId
public String getSubscriptionId()
-
setSubscriptionId
public void setSubscriptionId(String subscriptionId)
-
isDurable
public boolean isDurable()
-
setDurable
public void setDurable(boolean durable)
-
isShared
public boolean isShared()
-
setShared
public void setShared(boolean shared)
-
-