问题
Is it possible to know whether any Eip has been used in my context, a unique id or something like that..!
When exchange is copied , for each copies Event is notified, is there any possibility to restrict it to notify once..
Ref: Used and tested with the Apache Camel "MultiCast" eip
回答1:
Solution:
1: Eip - Multicast will be available in the CamelExchange properties... as CamelMulticastIndex. 2: Eip - WireTap, will be available in Camel MessageHistory(InOnly) pattern...
Hope it helps in solving ...
回答2:
You can assign id's to any processor or endpoint in camel. Would that help ?
来源:https://stackoverflow.com/questions/37894057/restrict-event-notifier-for-multicast-eip