Hi,

I want to proposed the following changes to support Qpid as a JMS
transport. 

 

The changes are only to the values of the jms:address element and
therefore does not require any source code or schema changes. This might
change if the system testing shows some issues (bugs) but mostly I
believe this should be enough.

 

The changes are:

 

1.      jms:address element in WSDL will be changed as shown in the
attached document for Qpid.

 

2.      jms_pubsub, and jms_queue samples will be changed to also
support Qpid as a JMS transport, along-with ActiveMQ.

 

3.      src/test/java/org/apache/cxf/systest/jms/ will include JMS
transport testing also for Qpid.

 

Please let me know your feedback on this.

 

TIA,

Suresh

 

jms_queue_qpid/wsdl/jms_greeter.wsdl:

    <wsdl:service name="JMSGreeterService">
           <wsdl:port binding="tns:JMSGreeterPortBinding" name="GreeterPort">
               <jms:address
                   destinationStyle="queue"
                   jndiConnectionFactoryName="local"
                   jndiDestinationName="dynamicqueue">
                   <jms:JMSNamingProperty name="java.naming.factory.initial" 
value="org.apache.qpid.jndi.PropertiesFileInitialContextFactory"/>
                   <jms:JMSNamingProperty name="java.naming.provider.url" 
value="tcp://localhost:5672"/>
                   <jms:JMSNamingProperty name="connectionfactory.local" 
value="amqp://guest:[EMAIL 
PROTECTED]/testpath?brokerlist='tcp://localhost:5672'"/>
                   <jms:JMSNamingProperty name="queue.dynamicqueue" 
value="queue://queuetest"/>
              </jms:address>
           </wsdl:port>
    </wsdl:service>

jms_pubsub_qpid/wsdl/jms_greeter.wsdl:

    <wsdl:service name="JMSGreeterService">
           <wsdl:port binding="tns:JMSGreeterPortBinding" name="GreeterPort">
               <jms:address
                   destinationStyle="topic"
                   jndiConnectionFactoryName="local"
                   jndiDestinationName="direct"
                   >
                   <jms:JMSNamingProperty name="java.naming.factory.initial" 
value="org.apache.qpid.jndi.PropertiesFileInitialContextFactory"/>
                   <jms:JMSNamingProperty name="java.naming.provider.url" 
value="tcp://localhost:5672"/>
                   <jms:JMSNamingProperty name="connectionfactory.local" 
value="amqp://guest:[EMAIL 
PROTECTED]/testpath?brokerlist='tcp://localhost:5672'"/>
                   <jms:JMSNamingProperty name="topic.direct" 
value="topic://topictest"/>
                </jms:address>
           </wsdl:port>
    </wsdl:service> 

Reply via email to