[jboss-dev-forums] [Design of JBoss ESB] - Re: JMSRouter refactoring

beve do-not-reply at jboss.com
Fri Jul 13 05:03:44 EDT 2007


This is from AbstractRouter:

  | public final Message process(Message message) throws ActionProcessingException {
  |     	if(unwrap) {
  |     		route(ActionUtils.getTaskObject(message));
  |     	} else {
  |     		route(message);
  |     	}
  |     	
  |     	return null;
  | }
  | 

And JMSRouter route method is called with either the complete Message object when unwrap=false, and when unwrap=true with the contents of the Message objects body. 

Thanks,

Daniel

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

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



More information about the jboss-dev-forums mailing list