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... David 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: http://www.nabble.com/persistence-problems-in-consumer-having-java-exception-tp20102479p20131484.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.