We are setting the clientId & durableSubscriptionName at CAMEL JMS
component level. If we use same component for all the topics , definitely
there will be SUBSCRIPTION_IN_USE error will come. So, i am using different
component for every topic.




On Fri, Feb 1, 2013 at 11:23 AM, James Carman-2 [via Camel] <
ml-node+s465427n5726789...@n5.nabble.com> wrote:

> I don't think that was what they were asking.  You shouldn't have to use a
> specific component for each topic.
>
> On Feb 1, 2013, at 12:19 PM, "am.raheem" <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5726789&i=0>>
> wrote:
>
> > Hi,
> >
> > It was my problem. I was using same jms component for three different
> > topics. That's why i was getting that error. Now I made three different
> > camel jms components it worked.
> > Thanks for the suggestion to use durableSubscriber.
> >
> > Thanks,
> > Raheem
> > On Fri, Feb 1, 2013 at 9:33 AM, Claus Ibsen-2 [via Camel] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5726789&i=1>>
> wrote:
> >
> >> Hi
> >>
> >> Do you have any connection pooling or some sort?
> >>
> >> On Fri, Feb 1, 2013 at 4:25 PM, am.raheem <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5726768&i=0>>
> >> wrote:
> >>
> >>> Hi
> >>>
> >>>
> >>> When Iam trying with the below durable configurations
> >>>
> >>>         <bean id="jms"
> >> class="org.apache.camel.component.jms.JmsComponent">
> >>>        <property name="configuration">
> >>>            <bean
> >> class="org.apache.camel.component.jms.JmsConfiguration">
> >>>                <property name="connectionFactory"
> >>> ref="jmsConnectionFactory"/>
> >>>        <property name="clientId" value="819" />
> >>>        <property name="durableSubscriptionName" value="myTopic" />
> >>>
> >>>             </bean>
> >>>        </property>
> >>>    </bean>
> >>>
> >>> I am getting the below error:
> >>>
> >>> Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call
> failed
> >> with
> >>> compcode '2' ('MQCC_FAILED') reason '2429'
> ('MQRC_SUBSCRIPTION_IN_USE').
> >>>        at
> >>>
> >>
> com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:223)
>
> >>
> >>> ~[com.ibm.mqjms-7.0.1.1.jar:7.0.1.1 - k701-101-091116].
> >>> Any sugessions on this error?
> >>>
> >>> Thanks,
> >>> Raheem
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>
> http://camel.465427.n5.nabble.com/CAMEL-IBM-MQ7-Spring3-0-tp5726692p5726765.html
> >>
> >>> Sent from the Camel - Users mailing list archive at Nabble.com.
> >>
> >>
> >>
> >> --
> >> Claus Ibsen
> >> -----------------
> >> Red Hat, Inc.
> >> FuseSource is now part of Red Hat
> >> Email: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=5726768&i=1>
> >> Web: http://fusesource.com
> >> Twitter: davsclaus
> >> Blog: http://davsclaus.com
> >> Author of Camel in Action: http://www.manning.com/ibsen
> >>
> >>
> >> ------------------------------
> >> If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
>
> >> .
> >> NAML<
> http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>
> >
> >
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/CAMEL-IBM-MQ7-Spring3-0-tp5726692p5726788.html
>
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/CAMEL-IBM-MQ7-Spring3-0-tp5726692p5726789.html
>  To unsubscribe from CAMEL + IBM MQ7 + Spring3.0, click 
> here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5726692&code=YW0ucmFoZWVtQGdtYWlsLmNvbXw1NzI2NjkyfDE2OTMwOTk3Mw==>
> .
> NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://camel.465427.n5.nabble.com/CAMEL-IBM-MQ7-Spring3-0-tp5726692p5726791.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to