camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Setting a requestTimeout for a shared/Exclusive reply does not take effect for multiple concurrent users
Date Fri, 07 Jun 2013 07:23:18 GMT
And what is the Camel route if using any? Or just that uri from a
producer template?

And btw the producer template is waiting for a reply hence why its
blocking. And if the reply/timeout takes a long to trigger then it
still blocks.


On Thu, Jun 6, 2013 at 6:50 PM, Siva B <kbsiva_27@yahoo.com.sg> wrote:
> Here is the camel-context XML configuration. WebSphereDestinationResolver
> implements Camel's DestinationResolver and overrides resolveDestination
> method.
>
>         <camelContext xmlns="http://camel.apache.org/schema/spring">
>                 <template id="camelTemplate" />
>         </camelContext>
>
>         <bean id="wmq" class="org.apache.camel.component.jms.JmsComponent">
>                 <property name="connectionFactory" ref="credentials" />
>                 <property name="destinationResolver" ref="webSphereDestinationResolver"
/>
>                 <property name="receiveTimeout"
>                         value="${receiveTimeout}"></property>
>                 <property name="requestTimeout"
>                         value="${requestTimeout}" />
>         </bean>
>         <bean id="webSphereDestinationResolver"
>                 class="XXXXXX.WebSphereDestinationResolver" />
>         <bean id="credentials"
>
> class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter">
>                 <property name="targetConnectionFactory">
>                         <ref bean="cachingConnectionFactory" />
>                 </property>
>                 <property name="username"
>                         value="${username}">
>                 </property>
>                 <property name="password"
>                         value="${password}">
>                 </property>
>         </bean>
>
>         <bean id="cachedConnectionFactory"
> class="org.springframework.jms.connection.CachingConnectionFactory"
>         p:targetConnectionFactory-ref="queueConnectionFactory"
>         p:reconnectOnException="true"
>         p:sessionCacheSize="75" />
>
>
>         <bean id="queueConnectionFactory"
> class="org.springframework.jndi.JndiObjectFactoryBean" lazy-init="true">
>                 <property name="jndiName"
> value="java:comp/env/jms/MQConnectionFactory" />
>         </bean>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Setting-a-requestTimeout-for-a-shared-Exclusive-reply-does-not-take-effect-for-multiple-concurrent-us-tp5733811p5733958.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message