[
https://issues.apache.org/jira/browse/CAMEL-11105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Franke updated CAMEL-11105:
---------------------------------
Description:
I have an application which uses the OSGi EventAdmin to send events when
something important happens. I want to register several EventHandlers for the
same event topic to perform different tasks.
Using the eventadmin endpoint I can register an endpoint that listens on the
OSGi Events.
However if I try to define several routes with the same event topic I get the
following exception:
{{org.apache.camel.FailedToStartRouteException: Failed to start route
myapp.example.custom-events because of Multiple consumers for the same endpoint
is not allowed: Endpoint[eventadmin://mycustom/events/*]}}
I think it should be possible to register several Endpoints for the same Event
topic as it is possible to have several EventHandlers listening on the same
topic.
was:
I have an application which uses the OSGi EventAdmin to send events when
something important happens. I want to register several EventHandlers for the
same event topic to perform different tasks.
Use the eventadmin endpoint I can register an endpoint that listens on the OSGi
Events.
However if I try to define several routes with the same event topic I get the
following exception:
{{org.apache.camel.FailedToStartRouteException: Failed to start route
myapp.example.custom-events because of Multiple consumers for the same endpoint
is not allowed: Endpoint[eventadmin://mycustom/events/*]}}
I think it should be possible to register several Endpoints for the same Event
topic as it is possible to have several EventHandlers listening on the same
topic.
> camel-eventadmin does not allow multiple consumers with the same URI
> --------------------------------------------------------------------
>
> Key: CAMEL-11105
> URL: https://issues.apache.org/jira/browse/CAMEL-11105
> Project: Camel
> Issue Type: Bug
> Components: osgi
> Reporter: David Franke
>
> I have an application which uses the OSGi EventAdmin to send events when
> something important happens. I want to register several EventHandlers for the
> same event topic to perform different tasks.
> Using the eventadmin endpoint I can register an endpoint that listens on the
> OSGi Events.
> However if I try to define several routes with the same event topic I get the
> following exception:
> {{org.apache.camel.FailedToStartRouteException: Failed to start route
> myapp.example.custom-events because of Multiple consumers for the same
> endpoint is not allowed: Endpoint[eventadmin://mycustom/events/*]}}
> I think it should be possible to register several Endpoints for the same
> Event topic as it is possible to have several EventHandlers listening on the
> same topic.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)