Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-690

durable subscriptions is not set in JMS transport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-RC
    • 2.0
    • Transports
    • None

    Description

      I started working on cxf jms systems against Sonic MQ and have a question about JMS durable subscription.

      In the system test jms_test.wsdl file, a durable subscriber name is defined.

      <service name="HelloWorldService">

      <port binding="tns:HelloWorldPortBinding" name="HelloWorldPort">

      <jms:address

      jndiConnectionFactoryName="ConnectionFactory"

      jndiDestinationName="dynamicQueues/test.jmstransport.text">

      <jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>

      <jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61500"/>

      </jms:address>

      <jms:server durableSubscriberName="CXF_subscriber"/>

      </port>

      </service>

      It seems a durable subscription will be created by client, according to the line 469 in the file \rt\transports\jms\src\main\java\org\apache\cxf\transport\jms\JMSSessionFactory.java

      When I ran the test with this service, the test ran fine, but I didn't see any created durable subscriptions from Sonic management console. Can you view durable subscriptions when testing ActiveMQ?

      The error was reproduced in ActiveMQ.

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: