0

I use dynamic routing my integration project, which may be multiple camel contexts. I can see if there is an endpoint in one camel context:

getContext.hasEndpoint("nmr:targetEndpoint")!=null

But it does not work if the endpoint is in another camel context...

рüффп
  • 5,172
  • 34
  • 67
  • 113
Comrade
  • 382
  • 3
  • 7
  • Maybe you can look in JMX to see if SMX have registered an nmr endpoint. Or look at SMX API what it offers you can use. – Claus Ibsen Mar 14 '14 at 16:38
  • 1
    Perhaps you could use `org.apache.servicemix.nmr.api.event.EndpointListener` see http://servicemix.apache.org/docs/4.5.x/nmr/nmr-event-listeners.html – Peter Keller Mar 16 '14 at 18:58

0 Answers0