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 >
