activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imagine_David <>
Subject Re: persistence problems in consumer having java exception
Date Thu, 23 Oct 2008 13:54:28 GMT

Thank you for the replied Hans,

i used version 5.1.
it's during MessageConsumer.receive()
just simply have NullPointerException. at first, i got XFireRuntimeException
when i try to visit web service at consumer code by use xfire.
these only one way i can get a persist message at db is i mark a debugging
at consumer code to stop the consumer thread, and i keep running the
producer thread, then i got the persist message. even though, it still won't
persist the first message. which mean after i stop consume 3 message, these
are only 2 message will persist at db.

thank you for the help...


Hans Bausewein wrote:
> Which ActiveMQ version do you use?
> Where does the exception occur?
> During a MessageConsumer.receive() ?
> In that case: what exception do you get?
> If the exception occurred after it was received, the message can only be
> retrieved later if the session was transacted and if the transaction was
> rolled back. See the Spring documentation for that.
> It could help if you increase the log level to DEBUG (and enable log4j
> logging).
> Hans

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message