AW: Message Header moved to Exchange property in 4.5 or 4.6?!

2024-05-24 Thread Speckels, Bert
>> changed, so you can add it to the correct guide) >> >> >> On Fri, May 24, 2024 at 2:21 PM Speckels, Bert >> wrote: >> >>> Hallo >>> >>> We upgraded from Camel 4.4.2 to 4.6 and found one problem with >>> &

Camel Spring RabbitMQ with setMaximumRetryAttempts: Wrong count?

2024-05-24 Thread Speckels, Bert
Hallo (again) In Camel Spring RabbitMQ we found the following component option: option: maximumRetryAttempts (consumer) description: How many times a Rabbitmq consumer will retry the same message if Camel failed to process the message. default: 5 type: int Based on the description, I would

Message Header moved to Exchange property in 4.5 or 4.6?!

2024-05-24 Thread Speckels, Bert
Hallo We upgraded from Camel 4.4.2 to 4.6 and found one problem with  Exchange.INTERCEPTED_ENDPOINT = "CamelInterceptedEndpoint". Until Camel 4.4.2 this was set as a **message header**. With Camel 4.6 this is now an **exchange property**. I didn't find that information in any migration guide.

AW: Stopping a route while in retry (how to interrupt the retry?) ... worked great before migration to "camel spring rabbitmq"

2024-05-21 Thread Speckels, Bert
D=0<https://issues.apache.org/jira/browse/CAMEL-20744> On Tue, May 7, 2024 at 5:03 PM Claus Ibsen wrote: > Hi > > You can try adding retryWhile to your onException and check if the route > status if its stopping, and then return false to break the retry sooner. > > On Tue,

AW: Stopping a route while in retry (how to interrupt the retry?) ... worked great before migration to "camel spring rabbitmq"

2024-05-15 Thread Speckels, Bert
your onException and check if the route status if its stopping, and then return false to break the retry sooner. On Tue, May 7, 2024 at 4:11 PM Speckels, Bert wrote: > I have created a simple example project which demonstrates the > different behaviouts of "camel rabbitmq" and &

AW: Stopping a route while in retry (how to interrupt the retry?) ... worked great before migration to "camel spring rabbitmq"

2024-05-07 Thread Speckels, Bert
delivery by stopping the route for maintenance as well as stop, remove the message from queue and restart. With kind regards Bert. ____ Von: Speckels, Bert Gesendet: Donnerstag, 18. April 2024 18:25 An: users@camel.apache.org Betreff: Stopping a route while in ret

Stopping a route while in retry (how to interrupt the retry?) ... worked great before migration to "camel spring rabbitmq"

2024-04-18 Thread Speckels, Bert
Hello everyone. I hope to get some useful information about our current problem. I'll try to keep it brief and still provide enough information. Ask if any more information is required. We migrated our camel routes which receive messages from RabbitMQ to "camel spring rabbitmq" (since "camel

AW: interceptSendToEndpoint broken when setting address of CxfEndpoint

2023-06-14 Thread Speckels, Bert
n 13, 2023 at 12:08 PM Speckels, Bert wrote: > Hello everyone. > > We have currently a problem with intercepting our cxf endpoint (sending): > > interceptSendToEndpoint("cxf*") > .to("bean:mockSoapSendingInterceptor?method=mock"); > > --- >

interceptSendToEndpoint broken when setting address of CxfEndpoint

2023-06-13 Thread Speckels, Bert
Hello everyone. We have currently a problem with intercepting our cxf endpoint (sending): interceptSendToEndpoint("cxf*")         .to("bean:mockSoapSendingInterceptor?method=mock"); --- But I found the reason why intercepting does not work. We use java code to configure our CxfEndpoint:

Camel 3.20.3: Version mismatch for "stax2-api" results in java.lang.NoSuchMethodError 'org.codehaus.stax2.ri.EmptyIterator'

2023-04-06 Thread Speckels, Bert
Problem Description: When creating a simple SOAP endpoint in Apache Karaf with Camel 3.20.3/2 (tested), the following errors occur when retrieving the WSDL: HTTP ERROR 500 java.lang.NoSuchMethodError: 'org.codehaus.stax2.ri.EmptyIterator org.codehaus.stax2.ri.EmptyIterator.getInstance()'