Uses of Interface
org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationAsyncCompletion
Packages that use AMQPFederationAsyncCompletion
-
Uses of AMQPFederationAsyncCompletion in org.apache.activemq.artemis.protocol.amqp.connect.federation
Methods in org.apache.activemq.artemis.protocol.amqp.connect.federation with parameters of type AMQPFederationAsyncCompletionModifier and TypeMethodDescriptionfinal voidAMQPFederationConsumer.startAsync(AMQPFederationAsyncCompletion<AMQPFederationConsumer> completion) Asynchronously starts a previously stopped federation consumer which should trigger a grant of credit to the remote thereby allowing new incoming messages to be federated.final voidAMQPFederationConsumer.stopAsync(AMQPFederationAsyncCompletion<AMQPFederationConsumer> completion) Stops message consumption on this consumer instance but leaves the consumer in a state where it could be restarted by a call toAMQPFederationConsumer.startAsync(AMQPFederationAsyncCompletion)once the consumer enters the stopped state.