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.

Reply via email to