Hi ,

I have implemented camel with blueprint implementation. 
Please provide some guide or tutorial. All i find are spring tutorials. 

My Code is as follows:

Camel Context : 
        <route id="activeMQ">
                <from uri="direct:activeMQ" />
                
                <setExchangePattern pattern="InOnly" />
                
                <to uri="jms:queue:test?requestTimeout=75000" />
        </route>

        <route>
                <from uri="jms:queue:test" />
                <bean ref="serviceProcessor" method="activeMQTesting"/>
        </route>


<bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
                                <property name="configuration" ref="jmsConfig" 
/>
                 </bean>

<bean id="jmsConfig"
class="org.apache.camel.component.jms.JmsConfiguration"> 
                                <property name="connectionFactory" 
ref="pooledConnectionFactory"/>
                                <property name="concurrentConsumers" 
value="10"/> 
                                <property name="transacted" value="true"/> 
                        </bean> 

<bean id="pooledConnectionFactory"
class="org.apache.activemq.pool.PooledConnectionFactory">
    <property name="maxConnections" value="8" />
    
    <property name="connectionFactory" ref="jmsConnectionFactory" />
  </bean>
  

  <bean id="jmsConnectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="vm://myBroker" />
    <property name="userName" value="admin"/>
    <property name="password" value="admin"/>
    
  </bean>


In between my transactions i want to send data to queue asynchronously. 
Using other route i want to read messages from queue and process. 

My Pom.xml:

 
 
        <dependency>
                        <groupId>org.apache.camel</groupId>
                        <artifactId>camel-jms</artifactId>
                        <version>${camelversion}</version>
                </dependency>
                
                <dependency>
                        <groupId>org.apache.activemq</groupId>
                        <artifactId>activemq-camel</artifactId>
                        <version>5.6.0</version>
                </dependency>

When i install my bundle in fuse a lot of extra bundles are installed. I dun
know why? Also my bundle is not get started.


Please help and suggest what am i doing wrong. What am i missing?

I dun wana run active mq separately, i want to use embedded activemq of
apapche camel.

Please help!!!

Regards,
Komal



--
View this message in context: 
http://camel.465427.n5.nabble.com/Hi-I-wanna-use-camel-s-embedded-in-active-mq-tp5751012.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to