Please see the getDurability method in[1]. I think still this problem is in the trunk.
Manjula please have a test with the Qpid trunk and submit a patch. thanks, Amila. [1] https://svn.apache.org/repos/asf/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/messaging/address/AddressHelper.java On Thu, Mar 17, 2011 at 10:26 AM, Danushka Menikkumbura <[email protected]>wrote: > Rajika, > > No need to give patches. This is how it works. > > Danushka > > > On Thu, Mar 17, 2011 at 10:23 AM, Rajika Kumarasiri <[email protected]>wrote: > >> You can provide this as a patch to Qpid project. They will request a test >> case too. >> >> Rajika >> >> On Thu, Mar 17, 2011 at 9:52 AM, Manjula Rathnayake <[email protected]>wrote: >> >>> Hi all, >>> >>> To make queues durable, >>> >>> queueSession.createQueue(queueName + ";{create:always, node:{durable: >>> True}}"); >>> >>> And small fix needed at Qpid as follows. >>> >>> In class org.apache.qpid.client.messaging.address.AddressHelper class >>> >>> private boolean getDurability(Map map) { >>> if (map != null && map.get(DURABLE) != null) { >>> // return Boolean.parseBoolean((String)map.get(DURABLE)); >>> return (Boolean) map.get(DURABLE); >>> } else { >>> return false; >>> } >>> } >>> >>> This way, SQS queues are durable now. >>> >>> Thank you. >>> >>> -- >>> Manjula Rathnayaka >>> Software Engineer >>> WSO2, Inc. >>> Mobile: <%2B94%2077%20743%201987> <%2B94%2077%20743%201987>+94 77 743 >>> 1987 >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
