camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selezovikj <semir.elezo...@gmail.com>
Subject Re: Camel and Oracle AQ
Date Thu, 09 Oct 2008 13:56:13 GMT

It works now. There were more consumers, so I had to wait a little longer to
receive a message. 

I owe you a beer :-D


selezovikj wrote:
> 
> There are messages to consume on the AQ for sure. 
> The funny thing is that I don't see any information about whether it is
> actually connecting to the IP address I am giving, 
> and whether it accepts the username and password. 
> I tried connecting to a remote Active MQ broker, it is successful and I
> receive DEBUG information that I am connected to the remote host and port
> number. 
> 
> 
> 
> 
> James.Strachan wrote:
>> 
>> 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
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Camel-and-Oracle-AQ-tp19860058s22882p19899520.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message