Hi. I don't really see the advantages of going into Ode with the JBI Wrapper. Whenever I copy data received from an exchange with attachments to one of my variables of Ode, the attachments will be lost, won't they? So the same thing would happen with or without the wrapper I guess. If it is not too much trouble, could you explain a bit more how you think it should be done?
Thanks. Sebastian Gomez. On Wed, Jun 11, 2008 at 9:12 PM, Guillaume Nodet <[EMAIL PROTECTED]> wrote: > I'm thinking the best would to use mtom and soap using cxf-bc and go > into Ode using the jbi wrapper. This should work for attachments, > however I don't think there is any way to pass properties from the jbi > exchange to the bpel process. Other ways as described by Alex should > work too. > > On Wed, Jun 11, 2008 at 8:41 PM, Sebastian Gomez <[EMAIL PROTECTED]> wrote: >> I've been trying out some basic scenarios using the ServiceMix ODE JBI >> Component to confirm the possibility of sending and receiving >> attachments and message (and exchange) properties using BPEL, but I >> haven't been able to come up with any answer. I've been having a look >> at the ODE User Guide and it doesn't mention either one of them, but >> it does mention something about headers, so I've thought maybe that's >> the way to go. I've done a few tests to try the headers out, but >> again, I haven't been able to obtain any result to solve my doubts. >> >> So, can anyone confirm me if it is possible to send both properties >> and attachments across ODE? If it is possible, please tell me if it is >> done using Headers as I think or if there is any other way. I've seen >> an old post written by Alex Boisvert saying the following about >> attachments through ODE: >> >> "There are a few options.... >> >> 1) Use Base64-encoded values in your message payload >> 2) Pass around HTTP URLs pointing to your attachment >> 3) Use the ESB's handler chains to bind your attachments to the message on >> its way out." >> >> I get the attachments from an external web service, so does this mean >> I'll have to put some logic to treat the attachments before they reach >> the ODE Component? >> >> Thanks in advance. >> >> Sebastian Gomez. >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ >
