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
ConstructorsConstructorDescriptionSjms2Endpoint(String uri, org.apache.camel.Component component, String remaining) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisShared()voidsetDurable(boolean durable) voidsetDurableSubscriptionName(String durableSubscriptionId) voidsetShared(boolean shared) voidsetSubscriptionId(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, setTransferExceptionMethods 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, toStringMethods 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, suspendMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.ComponentAware
getComponent, setComponentMethods inherited from interface org.apache.camel.Endpoint
configureExchange, configureProperties, createAsyncProducer, createConsumer, createExchange, createExchange, createPollingConsumer, createProducer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContextMethods inherited from interface org.apache.camel.IsSingleton
isSingletonMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
Sjms2Endpoint
public Sjms2Endpoint() -
Sjms2Endpoint
-
-
Method Details
-
getComponent
- Specified by:
getComponentin interfaceorg.apache.camel.ComponentAware- Overrides:
getComponentin classorg.apache.camel.component.sjms.SjmsEndpoint
-
setDurableSubscriptionName
- Overrides:
setDurableSubscriptionNamein classorg.apache.camel.component.sjms.SjmsEndpoint
-
getSubscriptionId
-
setSubscriptionId
-
isDurable
public boolean isDurable() -
setDurable
public void setDurable(boolean durable)
-