Binding components is another problem.  Currently, servicemix-http and
servicemix-jms are  the only BC to fully handle attachments (input and
output).  SAAJ lw component can handle attachments when sending a
request, email has no support for them yet, and I do not know if rss
could even support it (an entry is just a string).

Just curious (I'm not a bpel expert at all), what kind of things can
you do on attachments with bpel ?  Do you use wsdl message parts to
define them ?  How can you create a non-xml attachment ?

Guillaume Nodet

On 3/28/06, Charles Souillard <[EMAIL PROTECTED]> wrote:
> Thanks for this answer,
>
> I can see that XSLT is a TransformComponentSupport and that properties
> and attachments are copied from the in NM to the out NM.
> I can see that drools do the same thing through CopyTransformer.
>
> What about binding components ?
> I am able to send a message with sm-http and in my SE, I can get the
> attachment from the in NM.
> I can see there is a to do in email component concerning attachments... ??
>
> I can see that rss is using CopyTransformer too.
>
> Can you tell me if I have written something wrong above ?
>
> Thanks a lot !
> Charles
>
> Guillaume Nodet wrote:
>
> >The jsr181 component should be used to defined services with POJOs.
> >There is currently no way to access / send attachments or properties
> >defined in the JBI exchange from these POJOs.  Please, raise a JIRA
> >for that.
> >
> >For other components, attachments may be forwarded or not.  They
> >usually do so if the lightweight component is a transformer or a
> >router.  Note that this is not a problem against the JBI spec as
> >attachments are defined on a message and the component may do whatever
> >he wants with them.
> >
> >Cheers,
> >Guillaume Nodet
> >
> >On 3/28/06, Charles Souillard <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Hi all,
> >>
> >>Spending time on servicemix made me wonder why there are many components
> >>performing the same functionnalities...
> >>
> >>For example, I am looking at soap, WS engine, attachments...
> >>
> >>I think there are many ways to do soap with SM and it is not very clear
> >>for me :
> >>    1) why there are many ways to do soap ?
> >>    2) how can we choose between these components ?
> >>    3) what is the impact for users ?
> >>
> >> From the soap binding example, I am able thanks to a new client (saaj
> >>client) to send a soap message with an attachment.
> >>As you know, this message is sent to sm-http and then routed to jsr-181.
> >>The response I get back does not contain the attachment I sent.
> >>Is it normal ?
> >>
> >>I am trying to post a message containing attachments into SM and then
> >>forward it to many other components which can modify both the message
> >>and its attachment.
> >>Is it possible in SM ?
> >>I think some components are able to do that an some others not...
> >>What about jms, mail, rss ?
> >>Others components ? Could I find a list ?
> >>
> >>Thanks
> >>Charles
> >>
> >>
> >>
> >
> >
> >
>

Reply via email to