Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.5.0, 4.6.0, 4.7.0
-
None
-
Ubuntu in WSL2 with jbang
tested with
camel run route.yaml --camel-version 4.5.0camel run route.yaml --camel-version 4.6.0
camel run route.yaml --camel-version 4.7.0
-
Novice
Description
Here's the error message I get from camel 4.5.0 and above (tested with 4.7.0) in RECEIVE_AND_DELETE mode:
Route end without failure, so the onComplete method is called:
...
ERROR 2019 --- [ receiverPump-2] cebus.ServiceBusReceiverAsyncClient : 'COMPLETED' is not supported on a receiver opened in ReceiveMode.RECEIVE_AND_DELETE.
...
Route end with failure, so the onFailure method is called
enableDeadLettering: false:
...
ERROR 4015 --- [ receiverPump-2] cebus.ServiceBusReceiverAsyncClient : 'ABANDONED' is not supported on a receiver opened in ReceiveMode.RECEIVE_AND_DELETE
...
same with enableDeadLettering: true:
...
ERROR 281 --- [ receiverPump-2] servicebus.ServiceBusReceiverAsyncClient : 'SUSPENDED' is not supported on a receiver opened in ReceiveMode.RECEIVE_AND_DELETE.
...
There is no functional problem with that, the message is correctly consume from the subscription.
But we should avoid unnecessarily ERROR level log, so the abandon|complete|deadletter should not be call in RECEIVE_AND_DELETE mode
Attachments
Attachments
Issue Links
- is duplicated by
-
CAMEL-21091 camel-azure-servicebus: Consumer throws exception where receive mode is RECEIVE_AND_DELETE
- Closed
- links to