Demo of Apache Camel with Azure Service Bus on Spring Boot
2
stars
1
forks
source link
Camel Azure Service Bus - How to manually call abandon and complete methods from ServiceBusReceiverAsyncClient and how to do the manual complete when the process is done #1
Typically Camel will acknowledge the message after the exchange completes. You could also try to set the JMS acknowledgement mode to CLIENT_ACKNOWLEDGE on the consumer (from) endpoint.
Camel Route Builder class:
@OverRide public void configure() { from(azureServicebus(queueName).connectionString(Endpoint).amqpTransportType().disableAutoComplete(true).receiverClient(ServiceBusReceiverAsyncClient) .to(....) }
From the above endpoint,
How to implement the manual acknowledgment of the processed message to the ASB. How to call abandon or complete when my process has been done.