You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Suresh Kodichath (JIRA)" <ji...@apache.org> on 2006/12/18 19:58:23 UTC

[jira] Commented: (CXF-318) Support for using Apache Qpid as a CXF transport.

    [ http://issues.apache.org/jira/browse/CXF-318?page=comments#action_12459428 ] 
            
Suresh Kodichath commented on CXF-318:
--------------------------------------

I am working on this issue. I was able to get the  JMS samples to work using Qpid by making the following changes to the jms:address element in the WSDLs.

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:guest@clientid/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:guest@clientid/testpath?brokerlist='tcp://localhost:5672'"/>
                   <jms:JMSNamingProperty name="topic.direct" value="topic://topictest"/>
                </jms:address>
           </wsdl:port>
    </wsdl:service>


> Support for using Apache Qpid as a CXF transport.
> -------------------------------------------------
>
>                 Key: CXF-318
>                 URL: http://issues.apache.org/jira/browse/CXF-318
>             Project: CXF
>          Issue Type: New Feature
>          Components: Transports
>            Reporter: Suresh Kodichath
>
> Hi,
> This story is to add support for using Apache Qpid as a transport for CXF. Apache Qpid provides a JMS interface as well as a Native interface. This story is to use the existing JMS transport in CXF, and make it work for Qpid along-with the necessary tests and demos for the same.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira