I am relatively new to camel/spring and active mq and this forum. I hope I
have posted in the right location. Please let me know is this is not the
case   acttivemq 5.50, camel 2.70, spring 3.4, linux centos 

I have defined the following xml ( below the error ) in a camel.xml file
which is imported into activemq.xml. I am running this by launching activemq
from the default port 61616 on localhost on linux. 
If I comment out the sortie processor bean and quartz entires dealing with
sortieprocessor, quartz runs the missionprocessor bean which mines data from
a JPA source and any data mined is routed to the injected destiantion. 

Once I uncomment out soriteprocessor and related xml defs, I get the
following error.
Since the mission looks exactly like the sortie except for the names, it
appears it should work. 
I am unsure of why this would be.   I have been stumped for a while, please
help. 

java.lang.RuntimeException: Failed to execute start task. Reason:
org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException: Failed to create route route6
at: >>> process[ref:sortieprocessor] <<< in route:
Route[[From[quartz://sortie?trigger.repeatCount=0&fireNow=tr... because of
registry entry called sortieprocessor must be specified on:
process[ref:sortieprocessor]
java.lang.RuntimeException: Failed to execute start task. Reason:
org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException: Failed to create route route6
at: >>> process[ref:sortieprocessor] <<< in route:
Route[[From[quartz://sortie?trigger.repeatCount=0&fireNow=tr... because of
registry entry called sortieprocessor must be specified on:
process[ref:sortieprocessor]

Probably a newbie mistake


<bean id="missionprocessor"
class="com.itt.ips.casex.cybervisor.camel.gdssmining.mission.GDSSProcessor">
  <property name="producer" ref="producerTemplate" />
  <property name="destination" value="seda:missiondest" />
</bean>

<bean id="sortieprocessor"
class="com.itt.ips.casex.cybervisor.camel.gdssmining.sortie.SortieProcessor">
  <property name="producer" ref="producerTemplate" />
  <property name="destination" value="seda:sortiedest" />
</bean>

<route>
  <from uri="quartz://mission?trigger.repeatCount=0&amp;fireNow=true" />
  <process ref="missionprocessor" />
</route>

<route>
  <from uri="quartz://sortie?trigger.repeatCount=0&amp;fireNow=true" />
  <process ref="sortieprocessor" />
</route>-->



<route>
  <from uri="seda:missiondest?concurrentConsumers=5" />
  <process ref="GDSSlogger1" />
  <process ref="OntologyImport1" />
</route>

<route>
  <from uri="seda:sortiedest?concurrentConsumers=5" />
  <process ref="GDSSlogger1" />
  <process ref="OntologyImport1" />
</route>


--
View this message in context: 
http://camel.465427.n5.nabble.com/Error-with-quartz-timer-starting-up-active-mq-and-camel-tp4341573p4341573.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to