I have a bean that consumes from a queue a bit like this ... @Component @Scope(value="session") public class MyConsumer {
@Consume(uri = "activemq:myqueue") public void process( @Body String body ) { ... } public void stop() { ..how to stop it?... } } How would I go about implementing a stop() method that stops the route? Thanks, Tom