following are my findings-
NotifyConsole ends the action pipeline, so it should not be placed in the middle of action pipeline. Always last.
Even JMSRouter also ends the action pipeline.
Routers: How your services can move messages between services (it cannot send message to esb aware listener)
Notifiers: How your services can send messages to destinations outside ESB (it cannot send message to esb aware listener)
Based upon the characteristics exhibhited, they behave same. Then why they have different definitions or there is need of 2 components.
Definitely I'm missing something, can somebody highlight when to use which?
I dont think I understand this statement Aman
>> Routers: How your services can move messages between services (it cannot send message to esb aware listener)
from Programmers guide
Routers are used to direct either the message or its payload to an end-point. Some routers support the unwrap property. Set this property to true, to automatically extract message payload and send it to the next ESB-unaware end-point by itself. Setting the option to false will pass the ESB Message in its entirety, without extracting the payload. (In this latter case, the receiving end-point must be ESBaware so that it can handle the message.)
JMSRouter supports "unwrap" property.