John Hite wrote:
> 2) is there some way of marking the
> messages on the way in so I know which messages need to be translated on
> their way out?

The in and out messages share the same Exchange object, so in your "in"
interceptor, something like:

message.getExchange().put("shouldUseRpcEncoded", Boolean.TRUE);

and in your "out" interceptor:

if(Boolean.TRUE.equals(message.getExchange().get("shouldUseRpcEncoded"))) {
  ...
}

Ian

-- 
Ian Roberts               | Department of Computer Science
[EMAIL PROTECTED]  | University of Sheffield, UK

Reply via email to