--Issue Update--
*Finally* figured out the issue.  The IBM MQ7 Queue Manager was configured
to close all pooled JMS resources that have not been accessed for
5-minutes.  The MQ Connection Factory defined within the Websphere
Application Server 7 container specified a minimum pool = 1, meaning that
the container itself will always keep at least 1 Connection in the pool.
After executing load, all of the connections in the pool were exercised and
after 5-minutes, the QMgr would attempt to close *all* JMS resources that
it had a reference to, which conflicted with the Connection Factory setting
to maintain 1 Connection in the pool.

Many thanks to everyone taking time out of their busy days to respond to my
post!  Awesome book Claus, it was a great read, very informative.

~Justin

On Wed, Mar 14, 2012 at 12:56 PM, Babak Vahdat [via Camel] <
[email protected]> wrote:

>
>
> Am 14.03.12 16:07 schrieb "TheJBoss" unter <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5565646&i=0>>:
>
>
> >I am still working on option [2] .
> >
> >When I attempt to register the exception listener[3], I get the exception
> >below.  Is there a special way of registering the listener for a WAS7 MQ
> >ConnectionFactory?
> >
> >
> ><bean id="smlc"
> >class="org.springframework.jms.listener.SimpleMessageListenerContainer">
> > <property name="connectionFactory" ref="connectionFactoryJndi" />
> > <property name="destinationName" value="CUS.SERVER.REQUEST" />
> ></bean>
>
> Just define a bean of yours implementing javax.jms.ExceptionListener:
>
>      <bean id="myExceptionListener" class="com.my.ExceptionListener" />
>
>
> Which would for example just log the thrown JMSException as error.
>
> And then inject it on your jms bean:
>
> <bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
> ...
>    <property name="exceptionListener" ref="myExceptionListener" />
>         </bean>
>
>
>
> >
> >
> ><property name="exceptionListener" ref="smlc" />
> >
> >[3/14/12 10:04:28:329 CDT] 00000024 ContextLoader E
> >org.springframework.web.context.ContextLoader initWebApplicationContext
> >Context initialization failed
> >
> >org.springframework.beans.factory.BeanCreationException: Error creating
> >bean
> >with name 'smlc' defined in ServletContext resource
> >[/WEB-INF/applicationContext.xml]: Invocation of init method failed;
> >nested
> >exception is org.springframework.jms.IllegalStateException: Method
> >setExceptionListener not permitted; nested exception is
> >javax.jms.IllegalStateException: Method setExceptionListener not
> permitted
> > at
> >org.springframework.beans.factory.support.AbstractAutowireCapableBeanFacto
>
> >ry.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
> >
> >--
> >View this message in context:
> >
> http://camel.465427.n5.nabble.com/Camel-JMS-Request-Reply-with-Websphere-t
> >p5095847p5565080.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-JMS-Request-Reply-with-Websphere-tp5095847p5565646.html
>  To unsubscribe from Camel JMS Request/Reply with Websphere, click 
> here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5095847&code=amJyYWF0aGVuQGdtYWlsLmNvbXw1MDk1ODQ3fDE4NTYzMjQ4ODQ=>
> .
> 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-JMS-Request-Reply-with-Websphere-tp5095847p5569758.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to