Hi Megala,

What is the version of MB you are currently using? This was issue was
experienced in 2.0.1 and was fixed in the later version, refer to [1].

[1] -
http://stackoverflow.com/questions/16107685/wso2-messagebrokerthrowing-org-wso2-andes-amqtimeoutexception-error-when-creati

Thank you.

Regards,
Shiva Balachandran

On Fri, Feb 6, 2015 at 3:28 PM, Megala Uthayakumar <[email protected]> wrote:

>
> Hi all,
>
> When I try to run the Durable subscriber sample in the MB I got the
> following error.
>
> [
>
>
>
>
>
>
>
>
>
>
>
> *java] javax.jms.JMSException: Error registering consumer:
> org.wso2.andes.AMQSecurityException: Cannot subscribe to queue
> carbon:mySub1234567 as it already has an existing exclusive consumer [error
> code 403: access refused]     [java]     at
> org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2089)     [java]
>     at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2032)
> [java]     at
> org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
> [java]     at
> org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:620)
> [java]     at
> org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
> [java]     at
> org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2030)
> [java]     at
> org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1028)
> [java]     at
> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1182)
> [java]     at
> org.wso2.andes.client.AMQSession.createDurableSubscriber(AMQSession.java:1077)
> [java]     at
> org.wso2.andes.client.AMQTopicSessionAdaptor.createDurableSubscriber(AMQTopicSessionAdaptor.java:73)
> [java]     at org.sample.jms.DurableTopicSubscriber.subscribe(Unknown
> Source)     [java]     at org.sample.jms.Main.main(Unknown Source)*
>
> Same exception is thrown  when trying to run the integration test for the
> durable subscribers. What may be the possible reason for this?
>
> Thanks
>
> Megala Uthayakumar
> *Software Engineering Intern *| *WSO2 Lanka*
> Mobile : +94 779 967 122
> Tel      : +94 112 733 667
> E-mail :  [email protected]
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
Blog - https://shivabalachandran.wordpress.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to