camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From miljenko2 <miljenko.br...@2e-systems.com>
Subject Re: Cannot dequeue Oracle XMLType queue, is it supported?
Date Mon, 23 Nov 2009 15:25:10 GMT

I can read without Camel by creating session in this way (specifying payload
factory):

...
MessageConsumer consumer = ((AQjmsSession) session).createReceiver(
                    queue, XMLType.getORADataFactory());
...

How can I set this for camel (in spring configuration file)?

Thanks,
Miljenko


Claus Ibsen-2 wrote:
> 
> On Mon, Nov 23, 2009 at 10:33 AM, miljenko2
> <miljenko.brkic@2e-systems.com> wrote:
>>
>> Hi.
>>
>> My code works fine with "sys.aq$_jms_text_message" queue but doesn't read
>> from "sys.xmltype" queue. Does Camel support Oracle queues with XMLType
>> payload?
> 
> Camel uses JMS so if you can read for Oracle queues with XMLType using
> plain JMS then that should be possible in Camel also.
> Maybe you need some oracle .jars on the classpath on the client side
> to be able to read those XMLType's.
> 
> Have you tried and what happens?
> 
>>
>> Thanks,
>> Miljenko
>> --
>> View this message in context:
>> http://old.nabble.com/Cannot-dequeue-Oracle-XMLType-queue%2C-is-it-supported--tp26474912p26474912.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: http://old.nabble.com/Cannot-dequeue-Oracle-XMLType-queue%2C-is-it-supported--tp26474912p26479994.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message