public class JmsEndpoint extends SoapEndpoint implements JmsEndpointType
| Modifier and Type | Field and Description |
|---|---|
protected javax.resource.spi.ActivationSpec |
activationSpec |
protected javax.resource.spi.BootstrapContext |
bootstrapContext |
protected javax.jms.ConnectionFactory |
connectionFactory |
protected javax.jms.Destination |
destination |
protected java.lang.String |
destinationStyle |
protected java.lang.String |
initialContextFactory |
protected java.lang.String |
jmsProviderDestinationName |
protected java.lang.String |
jmsProviderReplyToName |
protected java.lang.String |
jndiConnectionFactoryName |
protected java.lang.String |
jndiDestinationName |
protected java.lang.String |
jndiProviderURL |
protected java.lang.String |
jndiReplyToName |
protected JmsMarshaler |
marshaler |
protected boolean |
needJavaIdentifiers |
protected java.lang.String |
processorName |
protected javax.resource.spi.ResourceAdapter |
resourceAdapter |
protected boolean |
rollbackOnError |
protected org.apache.servicemix.store.Store |
store
The store to keep pending exchanges
|
protected org.apache.servicemix.store.StoreFactory |
storeFactory |
protected boolean |
synchronous |
protected boolean |
useMsgIdInResponse |
activated, defaultMep, defaultOperation, dynamic, policies, processor, role, soap, soapVersion, targetEndpoint, targetInterfaceName, targetService, wsdlResource, wsdlsdefinition, description, endpoint, interfaceName, logger, service, serviceUnit| Constructor and Description |
|---|
JmsEndpoint() |
JmsEndpoint(boolean dynamic) |
| Modifier and Type | Method and Description |
|---|---|
protected SoapExchangeProcessor |
createConsumerProcessor() |
protected javax.jbi.servicedesc.ServiceEndpoint |
createExternalEndpoint() |
protected SoapExchangeProcessor |
createProcessor(java.lang.String type) |
protected SoapExchangeProcessor |
createProviderProcessor() |
javax.resource.spi.ActivationSpec |
getActivationSpec()
The ActivationSpec to use on a JCA consumer endpoint.
|
AuthenticationService |
getAuthenticationService() |
javax.resource.spi.BootstrapContext |
getBootstrapContext()
The BootstrapContext to use for a JCA consumer endpoint.
|
JmsConfiguration |
getConfiguration() |
javax.jms.ConnectionFactory |
getConnectionFactory()
A configured ConnectionFactory to use on this endpoint.
|
javax.jms.Destination |
getDestination()
A configured Destination to use on this endpoint.
|
java.lang.String |
getDestinationStyle()
Specifies the destination type used with the jmsProviderDestinationName.
|
java.lang.String |
getInitialContextFactory()
The class name of the JNDI InitialContextFactory to use.
|
java.lang.String |
getJmsProviderDestinationName()
The name of the destination created by a call to
Session.createQueue or Session.createTopic. |
java.lang.String |
getJmsProviderReplyToName()
The name of the reply destination created by a call to
Session.createQueue or Session.createTopic. |
java.lang.String |
getJndiConnectionFactoryName()
The name of the JMS ConnectionFactory to lookup in JNDI.
|
java.lang.String |
getJndiDestinationName()
The name of the JMS Destination to lookup in JNDI.
|
java.lang.String |
getJndiProviderURL()
The provider URL used to create the JNDI context.
|
java.lang.String |
getJndiReplyToName()
The name of the JMS Reply-to destination to lookup in JNDI.
|
KeystoreManager |
getKeystoreManager() |
protected java.lang.String |
getLocationURI() |
JmsMarshaler |
getMarshaler() |
java.lang.String |
getProcessorName()
Specifies the processor family to use for this endpoint.
|
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
The ResourceAdapter to use on a JCA consumer endpoint.
|
org.apache.servicemix.store.Store |
getStore() |
org.apache.servicemix.store.StoreFactory |
getStoreFactory() |
boolean |
isNeedJavaIdentifiers()
Indicates if the JMS properties used by the endpoint need to be spec compliant.
|
boolean |
isRollbackOnError()
Indicates if the JBI exchange is rolled back if an error is encountered.
|
boolean |
isSynchronous()
Indicates if a JCA consumer endpoint sends the JBI exchange
synchronously or asynchronously.
|
boolean |
isUseMsgIdInResponse()
Indicates whether the message id of the request message
should be used as the correlation id in the response or the correlation id of the request.
|
protected java.lang.Class |
loadClass(java.lang.String name)
Attempts to load the class on the current thread context class loader or
the class loader which loaded us
|
protected java.io.InputStream |
loadResource(java.lang.String uri)
Loads the resource from the given URI
|
protected void |
overrideDefinition(javax.wsdl.Definition def) |
void |
setActivationSpec(javax.resource.spi.ActivationSpec activationSpec) |
void |
setBootstrapContext(javax.resource.spi.BootstrapContext bootstrapContext) |
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory) |
void |
setDestination(javax.jms.Destination destination) |
void |
setDestinationStyle(java.lang.String destinationStyle) |
void |
setInitialContextFactory(java.lang.String initialContextFactory) |
void |
setJmsProviderDestinationName(java.lang.String jmsProviderDestinationName) |
void |
setJmsProviderReplyToName(java.lang.String jmsProviderReplyToName) |
void |
setJndiConnectionFactoryName(java.lang.String jndiConnectionFactoryName) |
void |
setJndiDestinationName(java.lang.String jndiDestinationName) |
void |
setJndiProviderURL(java.lang.String jndiProviderURL) |
void |
setJndiReplyToName(java.lang.String jndiReplyToName) |
void |
setMarshaler(JmsMarshaler marshaler)
Specifies the class implementing the logic for marshaling and
unmarshaling messages between the JMS destination and the endpoint.
|
void |
setNeedJavaIdentifiers(boolean needJavaIdentifiers) |
void |
setProcessorName(java.lang.String processorName) |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter) |
void |
setRoleAsString(java.lang.String role)
Specifies the role of this endpoint.
|
void |
setRollbackOnError(boolean rollbackOnError) |
void |
setStore(org.apache.servicemix.store.Store store)
Specifies a persistent data store to hold pending exchanges for the
endpoint.
|
void |
setStoreFactory(org.apache.servicemix.store.StoreFactory storeFactory)
Specifies the factory used to create presistent data stores for this endpoint.
|
void |
setSynchronous(boolean synchronous) |
void |
setUseMsgIdInResponse(boolean useMsgIdInResponse) |
java.lang.String |
toString() |
activate, createWsdlReader, createWsdlWriter, deactivate, getDefaultMep, getDefaultOperation, getPolicies, getRole, getSoapVersion, getTargetEndpoint, getTargetInterfaceName, getTargetService, getWsdlResource, getWsdls, isSoap, loadWsdl, mapDefinition, mapImports, process, registerExtensions, retrieveProxiedEndpointDefinition, setDefaultMep, setDefaultOperation, setDescription, setPolicies, setRole, setSoap, setSoapVersion, setTargetEndpoint, setTargetInterfaceName, setTargetService, setWsdlResource, start, stopgetDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setEndpoint, setInterfaceName, setService, setServiceUnit, validateprotected java.lang.String initialContextFactory
protected java.lang.String jndiProviderURL
protected java.lang.String destinationStyle
protected java.lang.String jndiConnectionFactoryName
protected java.lang.String jndiDestinationName
protected java.lang.String jmsProviderDestinationName
protected java.lang.String jndiReplyToName
protected java.lang.String jmsProviderReplyToName
protected boolean useMsgIdInResponse
protected javax.jms.ConnectionFactory connectionFactory
protected javax.jms.Destination destination
protected java.lang.String processorName
protected JmsMarshaler marshaler
protected javax.resource.spi.ResourceAdapter resourceAdapter
protected javax.resource.spi.ActivationSpec activationSpec
protected javax.resource.spi.BootstrapContext bootstrapContext
protected boolean synchronous
protected boolean rollbackOnError
protected boolean needJavaIdentifiers
protected org.apache.servicemix.store.Store store
protected org.apache.servicemix.store.StoreFactory storeFactory
public javax.resource.spi.BootstrapContext getBootstrapContext()
public void setBootstrapContext(javax.resource.spi.BootstrapContext bootstrapContext)
bootstrapContext - the bootstrapContext to setpublic boolean isSynchronous()
public void setSynchronous(boolean synchronous)
synchronous - true means the exchange is sent synchronouslypublic boolean isRollbackOnError()
public void setRollbackOnError(boolean rollbackOnError)
rollbackOnError - the rollbackOnError to setpublic javax.resource.spi.ActivationSpec getActivationSpec()
public void setActivationSpec(javax.resource.spi.ActivationSpec activationSpec)
activationSpec - the activationSpec to setpublic javax.resource.spi.ResourceAdapter getResourceAdapter()
public void setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter)
resourceAdapter - the resourceAdapter to setpublic java.lang.String getInitialContextFactory()
public void setInitialContextFactory(java.lang.String initialContextFactory)
initialContextFactory - The initialContextFactory to set.public java.lang.String getJmsProviderDestinationName()
Session.createQueue or Session.createTopic.
This property is used when destination and
jndiDestinationName are
both null.public void setJmsProviderDestinationName(java.lang.String jmsProviderDestinationName)
jmsProviderDestinationName - The jmsProviderDestinationName to set.public java.lang.String getJndiReplyToName()
public void setJndiReplyToName(java.lang.String jndiReplyToName)
jndiReplyToName - the JNDI name of the replyTo queuepublic java.lang.String getJmsProviderReplyToName()
Session.createQueue or Session.createTopic.
This property is used when jndiReplyToName is
null. A temporary queue will be used
if a replyTo is not provided.public void setJmsProviderReplyToName(java.lang.String jmsProviderReplyToName)
jmsProviderReplyToName - the name of the replyTo destinationpublic java.lang.String getJndiConnectionFactoryName()
connectionFactory is nullpublic void setJndiConnectionFactoryName(java.lang.String jndiConnectionFactoryName)
jndiConnectionFactoryName - the JNDI name of the connection factorypublic java.lang.String getJndiDestinationName()
destination is null.public void setJndiDestinationName(java.lang.String jndiDestinationName)
jndiDestinationName - the JNDI name of the JMS destinationpublic java.lang.String getJndiProviderURL()
public void setJndiProviderURL(java.lang.String jndiProviderURL)
jndiProviderURL - The JNDI provider URLpublic java.lang.String getDestinationStyle()
queue or topic.public void setDestinationStyle(java.lang.String destinationStyle)
destinationStyle - queue or topicpublic javax.jms.ConnectionFactory getConnectionFactory()
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
connectionFactory - a configured JMS ConnectionFactorypublic javax.jms.Destination getDestination()
public void setDestination(javax.jms.Destination destination)
destination - a configured JMS destinationpublic boolean isNeedJavaIdentifiers()
public void setNeedJavaIdentifiers(boolean needJavaIdentifiers)
needJavaIdentifiers - if jms properties should be spec compliantpublic void setRoleAsString(java.lang.String role)
consumer or provider.setRoleAsString in class SoapEndpointrole - role - the role of the endpointpublic org.apache.servicemix.store.Store getStore()
public void setStore(org.apache.servicemix.store.Store store)
store - The store to set.public org.apache.servicemix.store.StoreFactory getStoreFactory()
public void setStoreFactory(org.apache.servicemix.store.StoreFactory storeFactory)
storeFactory - the factory used to create persistent storesprotected SoapExchangeProcessor createProviderProcessor()
createProviderProcessor in class SoapEndpointprotected SoapExchangeProcessor createConsumerProcessor()
createConsumerProcessor in class SoapEndpointprotected SoapExchangeProcessor createProcessor(java.lang.String type)
protected java.lang.Class loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionprotected java.io.InputStream loadResource(java.lang.String uri)
protected javax.jbi.servicedesc.ServiceEndpoint createExternalEndpoint()
createExternalEndpoint in class SoapEndpointprotected java.lang.String getLocationURI()
protected void overrideDefinition(javax.wsdl.Definition def)
overrideDefinition in class SoapEndpointpublic java.lang.String toString()
toString in class AbstractEndpointpublic java.lang.String getProcessorName()
multiplexing (default)standardjcapublic void setProcessorName(java.lang.String processorName)
processorName - The processorName to set.public JmsConfiguration getConfiguration()
public AuthenticationService getAuthenticationService()
getAuthenticationService in class SoapEndpointpublic KeystoreManager getKeystoreManager()
getKeystoreManager in class SoapEndpointpublic boolean isUseMsgIdInResponse()
public void setUseMsgIdInResponse(boolean useMsgIdInResponse)
public JmsMarshaler getMarshaler()
public void setMarshaler(JmsMarshaler marshaler)
DefaultJmsMarshaler.marshaler - the marshaling classCopyright © 2005-2014 FuseSource. All Rights Reserved.