[jboss-dev-forums] [Design of JBoss ESB] - Re: FS-listener IOException

tfennelly do-not-reply at jboss.com
Wed May 21 06:10:42 EDT 2008


"ama1" wrote : Hi Daniel,
  | yes I had a look into that example. But the only think which looks different is the JMS-Listener. But it looked for me that this listener is just an alternative input channel for the actions?
  | Or is it mandatory? And if yes what exactly does the JMS do in this example?

You're right... this is one of the more confusing parts of the ESB configuration.  Pre 4.3.GA (just about to be released - available from SVN), every service needed to have at least 1 "message aware listener" configured.  Gateways are there to get message payloads onto the bus, but most of them do it via a message aware listener.  If you think this is confusing, don't worry... you're not the only one :-)

So it works something like this:

  | message --> [gateways-listener] --> [message-aware-listener] --> [action-pipeline]
  | 

So you need the message aware listener to get the message payload from the gateway to the action processing pipeline.

The good news is that v4.3 will make this a lot easier (and more performant) because it adds support for an InVM transport, which means that by default, every service will have an InVM message aware listener.    For the user, this means they just need to configure the gateway and it will work - no need to configure the extra JMS message aware listener.

So you need to configure that JMS message aware listener for now, but you can remove it when you move to 4.3.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152277#4152277

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152277



More information about the jboss-dev-forums mailing list