org.apache.axis2.transport.jms.README.txt Maven / Gradle / Ivy
Go to download
Core Parts of Axis2. This includes Axis2 engine, Client API, Addressing support, etc.,
This is a new JMS (Java Messaging Service) Transport implementation for Apache Axis2. The transport receiver must be configured as follows, with one or more connection factories:
Sample axis2.xml
================
org.apache.activemq.jndi.ActiveMQInitialContextFactory
tcp://localhost:61616
TopicConnectionFactory
org.apache.activemq.jndi.ActiveMQInitialContextFactory
tcp://localhost:61616
QueueConnectionFactory
org.apache.activemq.jndi.ActiveMQInitialContextFactory
tcp://localhost:61616
QueueConnectionFactory
If a connection factory named "default" (as shown above) is defined, this would be used for services which does
not explicitly specify the connection factory that should be used. The services.xml of a service should indicate
the connection factory and the destination name to be associated with. If a destination is not specified, the
implementation would create a JMS Queue with the service name. The JMS destination should ideally be created
and administered through the JMS provider utilities.
Sample services.xml
===================
....
jms
...
myTopicConnectionFactory
dynamicTopics/something.TestTopic
Files Making Up This JMS Implementation
=======================================
* JMSListener.java
* JMSConnectionFactory.java
* JMSMessageReceiver.java
* JMSOutTransportInfo.java
* JMSSender.java
* JMSConstants.java
* JMSUtils.java
* AxisJMSException.java
* DefaultThreadFactory.java