The problem with this solution is that you tie the jms BC to
the marshalling layer, which is not a good thing, imho.

You could use xstream to marshal your pojo to xml in
your component instead.

Note that I do understand that for performance reasons,
one would not want to marshal / unmarshal pojos
between SE invocations and keep the pojo form.
ServiceMix has some features to support that, but
they are not used by standard jbi components.

On 9/7/06, mwhs <[EMAIL PROTECTED]> wrote:



Wouldn't it be possible to marshal the payload of an object message to an
xml structure using xstream for instance?

A feature I am definitly missing is the possibility to operate on my
pojos/beans when I transform or enrich a message. Is this planned in a
future version?

Best regards,
Martin


gnodet wrote:
>
> Do you have any idea how you would map a
> MapMessage / ObjectMessage to a JBI
> normalized message.  I haven't thought
> about it yet ...
>
> On 9/7/06, johper <[EMAIL PROTECTED]> wrote:
>>
>>
>> Tried sending MapMessage to Servicemix for routing it from JBoss-queue
to
>> another JBoss-queue with ServiceMix jms consumer/provider pair,
getting:
>> 2006-09-07 10:33:30,363 ERROR
>> [org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor]
>> [...]
>
> --
> Cheers,
> Guillaume Nodet
>
>

--
View this message in context:
http://www.nabble.com/MapMessage-and-or-ObjectMessage-tf2226788.html#a6187531
Sent from the ServiceMix - User forum at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to