Hi,

Thanks a lot for the answer.

I'm still unsure about some points.. Please confirm / answer my statements

1) Let's take a NormalizedMessage.
Basically (let's simplify and forget attachments, etc), it has a set of
properties with content attached to each property.
If we convert JMS <-> NormalizedMessage, then JMS properties <->
NormalizedMessage properties. (as far as I understood from reading the
JmsMarshaller source code).
The JmsMarshaller seems to consider a JMS TextMessage. What happens to JMS
messaging that have a serializable Object instead ?

2)Let's say I need a BPEL SE. I need to send a message to one of the portTypes
of my BPEL process. Is is defined by WSDL Operations and XML Data Types.
On the other side, my NormalizedMessage contains properties, with values. How
does ServiceMix does the NormalizedMesasge <-> WSDL conversion ?
As I understood from your email :
> Quite a few of the transport bindings like HTTP, JMS, email, Jabber,
> file - don't worry too much about things like SOAP protocols or
a plain JMS message that is converted to a NormalizedMessage by the
JmsMarshaller can't be directly mapped to WSDL ?

You're speaking about :
> You can then pipeline components into other components to deal
> with things like XML format, SOAP encoding etc.
But do I need SOAP to send message to my BPEL process ? or just anything that
goes on JBI bus and can be mapped to WSDL is ok ?


Thanks a lot for your help
Sami Dalouche


Selon James Strachan <[EMAIL PROTECTED]>:

>
> On 25 Aug 2005, at 21:55, Sami Dalouche wrote:
>
> > Hi,
> >
> > I am desperately trying to find some general information about how
> > ServiceMix
> > works...
> >
> > I read in the JSR 208 spec that Provider and Consumer Binding
> > Components
> > communicate using WSDL operations and XMLSchema types.
>
> The spec's kinda hard work :). We're hoping to write a few articles
> soon that gives more of a ' how to get stuff done with JBI' type of
> overview.
>
> Basically the guts of JBI is the Normalized Message Router which just
> routes NormalizedMessages around inside MessageExchanges (one ways or
> request-response). So there's no absolute requirement that every
> service have a WSDL, though its often kinda handy, especially for
> tooling.
>
>
> > I also have the feeling that the org.servicemix.components.*
> > (especially JMS)
> > classes impement some of the possible binding components.
> >
> > So, let's take, for eaxmple, the JmsInBinding :
> > "A JMS MessageListener which sends the inbound JMS message into the
> > JBI
> > container for processing"
> >
> > Ok, so it sens the JMS Message, but.... where ? under which type ?
> > how is the
> > JMS message converted ?
> >
> > The spring deployment file has 2 properties :
> > destinationService="my:outputSender">
> > service="my:inputReceiver"
> >
> > I guess that the service is the service that is provided by the
> > binding, and
> > destinationService is the name of the service where all JMS
> > messages are
> > routed, right ?
>
> Yes.
>
> Sorry this is not terribly clear right now :)
>
> Quite a few of the transport bindings like HTTP, JMS, email, Jabber,
> file - don't worry too much about things like SOAP protocols or
> encoding, but just take what they are given and bind to different
> transports. So you can send any NormalizedMessage into and out of
> them. You can then pipeline components into other components to deal
> with things like XML format, SOAP encoding etc. For example you could
> use ActiveSOAP as a lightweight SOAP stack and use JBI components for
> the transport.
>
> Another option is to use an entire SOAP stack as a BC. e.g. we
> support SAAJ, XFire, ActiveSOAP and WSIF too. WSIF is an interesting
> example as a BC - you point the WSIF component to a WSDL which then
> uses WSIF to bind to the real wire protocol which works with POJOs,
> EJBs, SOAP over HTTP and JMS.
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to