Hi !

I can't get a property setted in a previous bean from my MessageExchange.

I use :
- EIP Static routing slip
- 2 beans

My EIP config :
<eip:static-routing-slip service="jan:gedEIPService"
    endpoint="gedEIPEndpoint">
    <eip:targets>
      <eip:exchange-target service="jan:gedBeanSecuService"
        endpoint="gedBeanSecuEndpoint" />

      <eip:exchange-target service="jan:gedBeanMetierService"
        endpoint="gedBeanMetierEndpoint" />
    </eip:targets>
  </eip:static-routing-slip>

Scenario is :
EIP > BeanSecu > EIP > BeanMetier

In BeanSecu, I set a property like this :
clientMessageExchange.getMessage("in").setProperty("myKey", myValue);
// Sent back to eip
channel.send(clientMessageExchange);

In BeanMetier, I get it like this :
String myValue = (String) exchange.getMessage("in").getProperty("myKey");

But myValue is null.

Does eip static routing slip forward the properties ?
I saw that a "copyProperties" exists for wire-trap pattern. What's the
behaviour of the static routing slip ?

Thanks.


-- 
View this message in context: 
http://old.nabble.com/EIP-static-routing-slip-%3A-properties-transmition-tp26572806p26572806.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to