hello..thnx for your quick reply...
but i get the same error messages....and it seems that the endpoint can not
get found..
it says:

WARN  - QuartzComponent                - Target service
(introbsp}:listenerService) and endpoint (listenerEndpoint) specified, but
no matchi
ng endpoint found.  Only the service will be used for routing.
WARN  - DefaultBroker                  - ServiceName
(introbsp}:listenerService) specified for routing, but can't find it
registered
WARN  - DefaultBroker                  - ServiceName
(introbsp}:listenerService) specified for routing, but can't find it
registered
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished
installation of archive:  introbsp-service-assembly-1.0-SNAPSHOT.zip

INFO  - JobRunShell                    - Job
DEFAULT.{urn:introbsp}service:quartzendpoint threw a JobExecutionException:
org.quartz.JobExecutionException: org.quartz.JobExecutionException:
javax.jbi.messaging.MessagingException: Could not find route for exchang
e: InOnly[
  id: ID:192.168.0.109-122cc700ee3-15:22
  status: Active
  role: provider
  service: introbsp}:listenerService
  in: <?xml version="1.0"
encoding="UTF-8"?><timer><name>{urn:introbsp}service:quartzendpoint</name><group>DEFAULT</group><fullname>DEFAULT.
{urn:introbsp}service:quartzendpoint</fullname><description/><fireTime>Fri
Jul 31 11:53:51 CEST 2009</fireTime></timer>




Jean-Baptiste Onofré wrote:
> 
> Hi,
> 
> could you try, in your quartz xbean.xml, to define 
> targetService="introbsp:listenerService" targetEndpoint="listenerEndpoint"
> 
> Regards
> JB
> 
> funkywon wrote:
>> Hello guys...
>> I have a problem with Quartz..
>> I'd like to send a message periodically to a bean, but somehow it doesnt
>> work..
>> 
>> My Quartz SU configuration looks as follows:
>> 
>> <beans xmlns:sm="http://servicemix.apache.org/config/1.0"; 
>>        xmlns:quartz="http://servicemix.apache.org/quartz/1.0";
>>        xmlns:introbsp="urn:introbsp"> 
>>      <quartz:endpoint service="introbsp:service" endpoint="quartzendpoint"   
>>              
>>                  targetService="{urn:introbsp}:listenerService"> 
>>              <quartz:trigger> 
>>                      <quartz:simple repeatCount="10" 
>> repeatInterval="1000"></quartz:simple>
>>              </quartz:trigger> 
>>      </quartz:endpoint> 
>> </beans>
>> 
>> 
>> Then I got the bean, which should receive the message..
>> 
>> <beans xmlns:bean="http://servicemix.apache.org/bean/1.0";
>>      xmlns:introbsp="urn:introbsp"> 
>>   <bean:endpoint service="introbsp:listenerService"
>> endpoint="listenerEndpoint" bean="#listenerBean"/> 
>>   <bean id="listenerBean"
>> class="org.apache.servicemix.bean.beans.ListenerBean"/> 
>> </beans>
>> 
>> Listenerbean is the following class
>> 
>> public class ListenerBean implements MessageExchangeListener { 
>>     @Resource 
>>     private DeliveryChannel channel; 
>>  
>>     public void onMessageExchange(MessageExchange exchange) throws
>> MessagingException { 
>>         System.out.println("Received exchange: " + exchange); 
>>         exchange.setStatus(ExchangeStatus.DONE); 
>>         channel.send(exchange); 
>>     }  
>> } 
>> 
>> 
>> I periodically get the following error message..
>> 
>> WARN  - DefaultBroker                  - ServiceName
>> (introbsp}:listenerService) specified for routing, but can't find it
>> registered
>> WARN  - DefaultBroker                  - ServiceName
>> (introbsp}:listenerService) specified for routing, but can't find it
>> registered
>> INFO  - JobRunShell                    - Job
>> DEFAULT.{urn:introbsp}service:quartzendpoint threw a
>> JobExecutionException:
>> org.quartz.JobExecutionException: org.quartz.JobExecutionException:
>> javax.jbi.messaging.MessagingException: Could not find route for exchang
>> e: InOnly[
>>   id: ID:192.168.0.109-122cc700ee3-15:20
>>   status: Active
>>   role: provider
>>   service: introbsp}:listenerService
>>   in: <?xml version="1.0"
>> encoding="UTF-8"?><timer><name>{urn:introbsp}service:quartzendpoint</name><group>DEFAULT</group><fullname>DEFAULT.
>> {urn:introbsp}service:quartzendpoint</fullname><description/><fireTime>Thu
>> Jul 30 23:33:13 CEST 2009</fireTime></timer>
>> 
>> 
>> 
>> 
>> 
>> Thanx for any advice!
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/having-problem-with-quartz-%28No-endpoint-found%29-tp24752667p24753907.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to