org.apache.servicemix.jms.endpoints
Class JmsJcaConsumerEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ConsumerEndpoint
org.apache.servicemix.jms.endpoints.AbstractConsumerEndpoint
org.apache.servicemix.jms.endpoints.JmsJcaConsumerEndpoint
- All Implemented Interfaces:
- Endpoint, JmsEndpointType
public class JmsJcaConsumerEndpoint
- extends AbstractConsumerEndpoint
- implements JmsEndpointType
A Spring-based JMS consumer that uses JCA to connect to the JMS provider
- Author:
- gnodet
| Methods inherited from class org.apache.servicemix.jms.endpoints.AbstractConsumerEndpoint |
activate, deactivate, getConnectionFactory, getDestinationChooser, getDestinationResolver, getMarshaler, getReplyDeliveryMode, getReplyDestination, getReplyDestination, getReplyDestinationName, getReplyPriority, getReplyProperties, getReplyTimeToLive, getStore, getStoreFactory, getUseMessageIdInResponse, handleException, isJms102, isPubSubDomain, isReplyExplicitQosEnabled, isStateless, isSynchronous, onMessage, process, processExchange, send, sendError, setConnectionFactory, setCorrelationId, setDestinationChooser, setDestinationResolver, setJms102, setMarshaler, setPubSubDomain, setReplyDeliveryMode, setReplyDestination, setReplyDestinationName, setReplyExplicitQosEnabled, setReplyPriority, setReplyProperties, setReplyTimeToLive, setStateless, setStore, setStoreFactory, setSynchronous, setUseMessageIdInResponse, treatExceptionAsFault |
| Methods inherited from class org.apache.servicemix.common.endpoints.ConsumerEndpoint |
configureExchangeTarget, getRole, getTargetEndpoint, getTargetInterface, getTargetOperation, getTargetService, getTargetUri, setTargetEndpoint, setTargetInterface, setTargetOperation, setTargetService, setTargetUri |
| Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JmsJcaConsumerEndpoint
public JmsJcaConsumerEndpoint()
getBootstrapContext
public javax.resource.spi.BootstrapContext getBootstrapContext()
- Returns:
- the bootstrapContext
setBootstrapContext
public void setBootstrapContext(javax.resource.spi.BootstrapContext bootstrapContext)
- Specifies the
BootStrapContext used to start the resource
adapter. If this property is not set, a default
BootstrpContext will be created.
- Parameters:
bootstrapContext - the BootstrapContext to use
getActivationSpec
public javax.resource.spi.ActivationSpec getActivationSpec()
- Returns:
- the activationSpec
setActivationSpec
public void setActivationSpec(javax.resource.spi.ActivationSpec activationSpec)
- Specifies the activation information needed by the endpoint.
- Parameters:
activationSpec - the ActivationSpec containing the activation information
getResourceAdapter
public javax.resource.spi.ResourceAdapter getResourceAdapter()
- Returns:
- the resourceAdapter
setResourceAdapter
public void setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter)
- Specifies the resource adapter used for the endpoint.
- Parameters:
resourceAdapter - the ResourceAdapter to use
getLocationURI
public java.lang.String getLocationURI()
- Overrides:
getLocationURI in class AbstractConsumerEndpoint
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface Endpoint- Overrides:
start in class SimpleEndpoint
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop in interface Endpoint- Overrides:
stop in class SimpleEndpoint
- Throws:
java.lang.Exception
validate
public void validate()
throws javax.jbi.management.DeploymentException
- Specified by:
validate in interface Endpoint- Overrides:
validate in class ConsumerEndpoint
- Throws:
javax.jbi.management.DeploymentException
Copyright © 2005-2014 FuseSource. All Rights Reserved.