Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

ActiveMQ & Persistence?

$
0
0
Not sure if this is a camel issue or more specific to activemq - so apologies
if it's OT for this list.

I'm working on a relatively simple Camel application which simply receives
data via a servlet and passes the payload of the HTTP request into an
ActiveMQ queue.

It works perfectly - however, when i connect to the ActiveMQ queue from a
client application the client is sent everything on the queue. I only want
it to receive what's been added to the queue since the client connected -
not everything that's ever been added to the queue.

Is this managed by the 'persistence' attribute of the ActiveMQ broker? Or
can it be done from the camel configuration (i'm using a spring config for
camel and the broker).

Viewing all articles
Browse latest Browse all 5648

Trending Articles