Thanks for the reply. The issue was no more there but not sure how it got
resolved. 
But I think it was something related to upgrading from smx 4.0 to smx 4.2 

Here is the scenario that occurred.  I had smx 4.0 installed that comes with
activemq 5.2.0 and camel 1.6. Then I  installed smx 4.2 with activemq 5.3.0
and camel 2.2..0. I was trying to upgrade my code from 4.0 to 4.2 which was
not working and I ended up with creating a simple camel route ( the code was
provided in my last email) to see if that works. For some reason my laptop
become slower an slower consuming a lot of memory. And I had to restart my
laptop. After restart all of a sudden the same bundle that was not working
(no exception though, but with "0 route started") started working with "1
route started" 

I am not sure if I have any explanation of this behaviour..

Is anyone experienced something similar?



Gert Vanthienen wrote:
> 
> L.S.,
> 
> In the output of osgi:list, do you see the bundle both Active (in the
> first column) and Started (in the third column)?  If not, could you
> try running log:display-exception to check if there's no exception
> hiding in the log files to help us troubleshoot your issue?
> 
> Regards,
> 
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
> 
> 
> 
> On 3 May 2010 22:54, gnanda <[email protected]> wrote:
>>
>> Hi All,
>> I am using smx4.2 with camel 2.2. I am trying to make a simple route
>> working
>> with vcamel
>> the route is Q->bean.
>> I am dropping an XML message to the Queue from jconsole to see if it gets
>> picked up by the camel consumer. It is not consuming message. It does not
>> raise any exception too.
>>
>> Please help.
>> Here is my camel-context.xml
>>
>> <beans xmlns="http://www.springframework.org/schema/beans";
>>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>        xsi:schemaLocation="
>>       http://www.springframework.org/schema/beans
>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>>       http://camel.apache.org/schema/spring
>>  http://camel.apache.org/schema/spring/camel-spring.xsd
>>
>>    ">
>>
>>        <!--
>>     from("seda:a").to("seda:b");
>>  -->
>>        <bean id="jms"
>> class="org.apache.camel.component.jms.JmsComponent">
>>
>>                <property name="connectionFactory"
>> ref="jmsConnectionFactory" />
>>                <property name="concurrentConsumers" value="5" />
>>
>>
>>                </bean>
>>
>>
>>        <bean id="jmsConnectionFactory"
>> class="org.apache.activemq.ActiveMQConnectionFactory">
>>                <property name="brokerURL" value="vm://default:61616" />
>>
>>        </bean>
>>
>>
>>        <camelContext id="camel"
>>                xmlns="http://camel.apache.org/schema/spring";
>> trace="true">
>>                <package>org.simplecamelconsumersu</package>
>>        </camelContext>
>>
>> </beans>
>>
>> and here is the routeBuilder code
>> public void configure() {
>>
>>                // TODO create Camel routes here. For example:-
>>                //
>>                BeanTest myBean = new BeanTest();
>>                from("jms:test.MyQueue").bean(myBean, "process")
>>        }
>> --
>> View this message in context:
>> http://old.nabble.com/smx4.2-camel-consumer-not-consuming-any-message-tp28440004p28440004.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> ---
> Gert Vanthienen
> http://gertvanthienen.blogspot.com
> 

-- 
View this message in context: 
http://old.nabble.com/smx4.2-camel-consumer-not-consuming-any-message-tp28440004p28447745.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to