durable subscriptions is not set in JMS transport
-------------------------------------------------
Key: CXF-690
URL: https://issues.apache.org/jira/browse/CXF-690
Project: CXF
Issue Type: Bug
Components: Transports
Affects Versions: 2.0-RC
Reporter: willem Jiang
Assigned To: willem Jiang
Fix For: 2.0
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.