[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use less verbose errors when 'The Consumer is closed' #5

Closed
mbknor opened this issue May 6, 2014 · 0 comments
Closed

Use less verbose errors when 'The Consumer is closed' #5

mbknor opened this issue May 6, 2014 · 0 comments

Comments

@mbknor
Copy link
Owner
mbknor commented May 6, 2014

Since it appears that 'Uncaught exception - will try to recover' - 'javax.jms.IllegalStateException: The Consumer is closed' is happening from time to time, we should not log it as such verbose ERROR

ERROR [2014-05-06 12:17:59,657] com.kjetland.dropwizard.activemq.ActiveMQReceiverHandler: Uncaught exception - will try to recover
! javax.jms.IllegalStateException: The Consumer is closed
! at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:836) ~[activemq-client-5.9.0.jar:5.9.0]
! at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:593) ~[activemq-client-5.9.0.jar:5.9.0]
! at org.apache.activemq.jms.pool.PooledMessageConsumer.receive(PooledMessageConsumer.java:67) ~[activemq-jms-pool-5.9.0.jar:5.9.0]
! at com.kjetland.dropwizard.activemq.ActiveMQReceiverHandler.runReceiveLoop(ActiveMQReceiverHandler.java:169) ~[dropwizard-activemq-0.3.5.jar:na]
! at com.kjetland.dropwizard.activemq.ActiveMQReceiverHandler.run(ActiveMQReceiverHandler.java:137) ~[dropwizard-activemq-0.3.5.jar:na]
! at java.lang.Thread.run(Thread.java:744) [na:1.8.0]
INFO  [2014-05-06 12:17:59,657] com.kjetland.dropwizard.activemq.ActiveMQReceiverHandler: Setting up receiver for Consumer.x.VirtualTopic.request.v1
INFO  [2014-05-06 12:17:59,681] com.kjetland.dropwizard.activemq.ActiveMQReceiverHandler: Started listening for messages on Consumer.x.VirtualTopic.request.v1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant