activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: Messages dequeued but not consumed
Date Thu, 11 Feb 2016 23:38:06 GMT
What message type are you using?  Only ActiveMQObjectMessages (
would use serialization, so if that's what you're using then try sending an
ActiveMQTextMessage instead and see if it makes it through.

Also, is there any possibility that you're doing something on the broker
that would cause a deserialization to be done (embedded Camel routes, queue
browsing, that sort of thing), and if so, is a JAR containing your class on
the broker's classpath?  I personally would always serialize to text
(XML/JSON/protobuffs/etc.) and send ActiveMQTextMessages rather than using
ActiveMQObjectMessages and relying on Java's crappy built-in serialization
support and opening myself up to the kinds of deployment/classpath issues
that come with using ActiveMQObjectMessages.  ActiveMQTextMessages are a
small amount more work but they're less magical and you can better predict
whether your implementation will work correctly.

On Feb 11, 2016 10:32 AM, "mhemple" <> wrote:

> Thanks.  The messages are not expiring.  I believe they are being dequeued
> by
> spring integration but never making it to my consumer.  Do you think it
> could be a serialization issue?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message