So you fill the JMS queue from outside SMX and process them inside SMX?
Well you always have to use Normalized messages inside the bus. Thats
the way JBI works.

If you read a topic or queue from within ServiceMix you will always
get a MessageExchange containing a normalized message.
Where exactly is the problem?

Lars


2009/9/25 Barrie Treloar <[email protected]>:
> On Fri, Sep 25, 2009 at 4:43 PM, Lars Heinemann <[email protected]> wrote:
>> Barrie,
>>
>> what you explained here make me think you should write your own
>> binding component if there isn't already
>> an existing one for your protocol. Could you explain it a bit more detailed?
>
> I'm placing ObjectMessages (serialized Java objects) onto a Queue and
> then reading ObjectMessage responses from a Topic.
>
> I'm using the servicemix-jms component as a Provider to publish the
> messages onto a Queue using my own ProducerMarshaler (extending
> DefaultProviderMarshaler), likewise I have a Consumer for the Topic
> using my own ConsumerMarshaler (extending DefaultConsumerMarshaler).
>
> The marsharler's know how to transform between Protocol and JMS messages.
>
> But even if I am creating my own binding component, dont I still have
> to use NormalizedMessages?
>
> Cheers
>



-- 
http://lhein.blogspot.com

Reply via email to