cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "willem Jiang (JIRA)" <>
Subject [jira] Resolved: (CXF-690) durable subscriptions is not set in JMS transport
Date Mon, 28 May 2007 07:48:15 GMT


willem Jiang resolved CXF-690.

    Resolution: Fixed

CXF-jms-transport only support the topic pub&sub mode with the durable subscription.
The upper configuration will not setup the durable subscription in CXF even the server configured
with the durableSubscirberName.

Added the unit tests in cxf-rt-transports-jms to show how to setup the durable subscription.
please see the revision 542137'  testDurableSubscriber() in JMSDestinationTest.

First you should define a the destinationStyle in address element, then you need to setup
the durableSubscriptionClientId in server configuration which is loaded by spring.

> durable subscriptions is not set in JMS transport
> -------------------------------------------------
>                 Key: CXF-690
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0-RC
>            Reporter: willem Jiang
>            Assignee: willem Jiang
>             Fix For: 2.0
> I started working on cxf jms systems against Sonic MQ and have a question about JMS durable
> 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\
> 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.

View raw message