Uses of Class
org.acemq.amqp.api.PublishContext
Packages that use PublishContext
-
Uses of PublishContext in org.acemq.amqp.api
Methods in org.acemq.amqp.api that return PublishContextModifier and TypeMethodDescriptionPublishInterceptor.beforePublish(PublishContext context) Called before the payload is encoded, with whatever the previous interceptor returned.PublishContext.withEnvelope(Envelope replacement) Methods in org.acemq.amqp.api with parameters of type PublishContextModifier and TypeMethodDescriptiondefault voidPublishInterceptor.afterConfirm(PublishContext context, PublishResult result) Called once the broker has confirmed the message.PublishInterceptor.beforePublish(PublishContext context) Called before the payload is encoded, with whatever the previous interceptor returned.default voidPublishInterceptor.onError(PublishContext context, Throwable failure) Called when a publish fails, including when another interceptor refused it.