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

preconfigure subscription names for durable topics

$
0
0
For durable topics, the subscriber needs to send its client-id
and subscriptionName. That way, when the subscriber stops, and restarts,
activemq will not only send the new messages, but also those messages
it missed during its absence.

But that requires an initial subscription with its client-id!
Is it possible to add those named subscriptions upon
startup? That way activemq has knowledge of future
subscriptions.

e.g. the messages are tasks, meant to be executed in order.
when not acknowledged, they need to be re-executed.

one cannot assume that the subscribers are up prior before
the messages are sent.

Viewing all articles
Browse latest Browse all 5648

Trending Articles