|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Mule 2.2.1 not queueing message to ActiveMQI am seeing a very bizarre thing when I change my log4j.xml logging level for "org.mule" from DEBUG to INFO.
When the log level is set to DEBUG, I can see through the ActiveMQ admin console that the message counts for the queue are incremented as expected. However when I change the logging level to INFO the message count is not incremented. I decided to debug the code and found that an exception is caught (but never logged) in AbstractMessageDispatcher$Worker.run() line 278. The error message is "org.mule.api.transformer.TransformerException: Failed to read input stream to create a stream message: java.net.SocketException: Socket is closed (javax.jms.JMSException)" The exception is originally thrown from JmsMessageDispatcher.dispatchMessage(): 159 (Object message = event.transformMessage()). If I change the logging level back to INFO I am able to step through the code with no issues. Any help would be greatly appreciated. Below is the configuration for the service that I am calling. <service name="SilverpopAccount_1_0_0"> <inbound> <inbound-endpoint address="${third-party-services.SilverpopAccount_1_0_0.inbound-endpoint.url}" synchronous="false"/> </inbound> <outbound> <pass-through-router> <jms:outbound-endpoint queue="silverpopAccountRequestQueue" synchronous="false"/> </pass-through-router> </outbound> </service> Thanks, John |
|
|
Re: Mule 2.2.1 not queueing message to ActiveMQHi,
If the exception is never logged, then perhaps this should be recorded as a JIRA A jp4 wrote: > I am seeing a very bizarre thing when I change my log4j.xml logging level for > "org.mule" from DEBUG to INFO. > > When the log level is set to DEBUG, I can see through the ActiveMQ admin > console that the message counts for the queue are incremented as expected. > However when I change the logging level to INFO the message count is not > incremented. > > I decided to debug the code and found that an exception is caught (but never > logged) in AbstractMessageDispatcher$Worker.run() line 278. The error > message is "org.mule.api.transformer.TransformerException: Failed to read > input stream to create a stream message: java.net.SocketException: Socket is > closed (javax.jms.JMSException)" > > The exception is originally thrown from > JmsMessageDispatcher.dispatchMessage(): 159 (Object message = > event.transformMessage()). > > If I change the logging level back to INFO I am able to step through the > code with no issues. Any help would be greatly appreciated. > > Below is the configuration for the service that I am calling. > > <service name="SilverpopAccount_1_0_0"> > <inbound> > <inbound-endpoint > address="${third-party-services.SilverpopAccount_1_0_0.inbound-endpoint.url}" > synchronous="false"/> > </inbound> > <outbound> > <pass-through-router> > <jms:outbound-endpoint > queue="silverpopAccountRequestQueue" synchronous="false"/> > </pass-through-router> > </outbound> > </service> > > Thanks, > > John > -- Antoine Borg, Senior Consultant | Tel: +32 28 504 696 ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM See our full schedule of Mule and Android courses: http://www.ricston.com/courses/schedules/ email: _antoine.borg_@... <mailto:antoine.borg@...> | blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com <http://www.ricston.com/> --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |