camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Camel and Oracle AQ
Date Thu, 09 Oct 2008 13:29:10 GMT
2008/10/9 selezovikj <semir.elezovic@gmail.com>:
> When I try to connect, I don't see any logging information on connecting to
> the remote oracle AQ component.
> This is what I get:
>
> Consumer [oracle.jms.AQjmsConsumer@c736e4] of session
> [oracle.jms.AQjmsSession@952905] did not receive a message
>
> ...
>
> And the list goes on. It seems that my app keeps on polling the remote
> Oracle AQ broker.

Yes - there are different Spring MessageListenerContainer
implementations you can use.

Are there messages on the AQ to consume?


> I am also wondering why when I am injecting to the JmsComponent do I refer
> to the credentials bean for the connectionFactory property, even though
> "credentials" is not a connectionFactory ?

Yes it is - see the javadoc; its a delegate/decorator.
http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/jms/connection/UserCredentialsConnectionFactoryAdapter.html

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message