Hi,
I have a running Kafka 4.2.15 with Camel 3.11.5 and ActiveMQ 5.16.2 with a
Camel route to an external ActiveMQ broker.
When I start my local Karaf, the Camel routes connect both ActiveMQ servers
local and external and all works as expected.
Then when I change the local configuration, Karaf restarts the route but the
connection is lost.
I can see on the external broker side, that the client connection is not
present after configuration changed or if I restart the bundle.
The configuration properties got promoted to the camel component e.g. when I
change one of the values but I wasn't able to track/debug this down further why
the connection is lost.
Only a restart of the hole Karaf, brings the connection up again.
Any ideas what I can do here or has someone experienced the same as me?
The external ActiveMQ broker has version 5.13.3 the local broker has version
5.16.2.
I connect to an external topic and I use a RouteBuilder to create this route:
from(source).id("Router").description("Filter messages")
.choice()
.when(predicate) // predicate is a Camel Predicate
.to(destination) // this is a topic on a local ActiveMQ
broker
.otherwise()
.to(destinationFiltered); // also a topic on a local
ActiveMQ broker
BrokerURL is tcp://hostname:61616 where hostname is the external 5.13.3
ActiveMQ broker.
Nothing special there. The route connects to the remote broker topic, fetches
the incoming messages, filters them and sends them to the local broker.
Again, when I change a parameter in the configuration.cfg file on my local
running Karaf or even restart the bundle this causes camel to lose the
connection.
Frank Uwe Alfred Zinner (extern)
DFS Deutsche Flugsicherung GmbH
SH/AM
Am DFS-Campus 7
63225 Langen
Mail:
[email protected]<mailto:[email protected]>
DFS Deutsche Flugsicherung GmbH * Am DFS-Campus * 63225 Langen * Tel.: +49 6103
707-0 * Sitz der Gesellschaft: Langen/Hessen * Zust?ndiges Registergericht: AG
Offenbach am Main, HRB 34977 * Vorsitzende des Aufsichtsrats: Antje Geese *
Gesch?ftsf?hrer: Arndt Schoenemann (Vors.), Dr. Kerstin B?cker, Dirk Mahns,
Friedrich-Wilhelm Menge * www.dfs.de<http://www.dfs.de>
Sollten Sie nicht der richtige Empf?nger dieser E-Mail sein, l?schen Sie diese
bitte.