Hi

Basically its spring JMS under the covers. So go google for how to use
Spring JMS with BEA WebLogic.
And ensure the queue you listen to is already created and exists in
BEA JMS, as it may not support creating queues on demand, as AMQ does.


On Mon, Mar 8, 2010 at 10:52 PM, anandsk <[email protected]> wrote:
>
> try adding this to camel context file. create DefaultJMSConFactory in
> weblogic if doesn't exist already.
>
>      <jee:jndi-lookup id="DefaultJMSConFactory"
> jndi-name="DefaultJMSConFactory">
>        </jee:jndi-lookup>
>
>        <bean id="jmsDestinationResolver"
> class="org.springframework.jms.support.destination.JndiDestinationResolver"/>
>
>
>    <bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
>         <property name="connectionFactory" ref="DefaultJMSConFactory"/>
>        <property name="destinationResolver" ref="jmsDestinationResolver" />
>
>    </bean>
>
> asindic wrote:
>>
>> Hi,
>> I'm having problems getting a simple producer/consumer application with
>> Weblogic, everything works fine with AMQ.
>> There is one queue (topic), a JmsComponent and a RouteBuilder with a route
>> like this
>>
>> from("jms:requestQueue").process(new Processor() {....}
>>
>> The producer is working fine, putting messages on the requestQueue, but
>> there is no consumer registered that processes the messages...
>> I'm really impressed why this would work with AMQ and not with Weblogic.
>> Dose someone have any ideas where to look at?
>>
>> Regards,
>> Angela.
>>
>
> --
> View this message in context: 
> http://old.nabble.com/Problems-with-Weblogic%3A-consumer-not-listening-tp27826024p27828209.html
> Sent from the Camel - Users (activemq) 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

Reply via email to