THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Another alternative is to combine the Message Dispatcher or Content Based Router with File or JPA components for durable subscribers then something like Seda for non-durable.
Here is a simple example of creating a durable subscriber to a JMS topic
Using the Fluent Builders
Code Block | ||||
---|---|---|---|---|
| ||||
from("activemq:topic:foo?clientId=123&durableSubscriptionName=bar")
.to("mock:result");
|
Using the Spring XML Extensions
Code Block | ||||
---|---|---|---|---|
| ||||
<route>
<from uri="activemq:topic:foo?clientId=123&durableSubscriptionName=bar"/>
<to uri="mock:result"/>
</route>
|
See Also
...