From users-return-16813-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Sat Nov 08 11:12:59 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 65229 invoked from network); 8 Nov 2008 11:12:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2008 11:12:59 -0000 Received: (qmail 24007 invoked by uid 500); 8 Nov 2008 11:13:05 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 23977 invoked by uid 500); 8 Nov 2008 11:13:05 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 23966 invoked by uid 99); 8 Nov 2008 11:13:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Nov 2008 03:13:04 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of woodydickson@gmail.com designates 72.14.220.156 as permitted sender) Received: from [72.14.220.156] (HELO fg-out-1718.google.com) (72.14.220.156) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Nov 2008 11:11:46 +0000 Received: by fg-out-1718.google.com with SMTP id 16so1495756fgg.44 for ; Sat, 08 Nov 2008 03:12:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=HH2D7x6G/JTPXgkwaH4m1Fqdwc/7YJ00C2nhu2XY37w=; b=ixCRPDQCwPi2gj6OqwzPaezpq2Cbvg0nMQIYmIp8pukbHrY5ClhgjxWFFdC44zo9Zr C8AZYeV7SkisKXrP2whK/cv6714Qo9VF1p80f0jORKdAGpkD96iVTxfZWIs9O+cNJQ0C TEaGU8iQFPrMIu+dtVsbOAaCpZm+ud+dOfr8U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=xKNRvc9K6TzFW0A8t1Y/sr2Zg41OlrlAPlCjuodgGHgxbQE0NyPZunTzTvIdxLFL2q 3hxmzI04luOgSFyCxRhSFc3OopTI3kkTrn8L+N4bJxmz1iLX3uR8u0B5klLrP0G6abF6 /yhs0A0lc/WoRjiYIBQgWBtK/8Q8KkEsxNLwE= Received: by 10.181.23.19 with SMTP id a19mr1352986bkj.198.1226142737753; Sat, 08 Nov 2008 03:12:17 -0800 (PST) Received: by 10.181.6.1 with HTTP; Sat, 8 Nov 2008 03:12:17 -0800 (PST) Message-ID: Date: Sat, 8 Nov 2008 19:12:17 +0800 From: "Woody Dickson" To: users@activemq.apache.org Subject: Need help with No endpoint could be found for: ibatis:insertAgent MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_68938_18795920.1226142737738" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_68938_18795920.1226142737738 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am trying to config my very first ActiveMq implementation for the following setup: external client fire stomp msg -> MyProcessor that prase text to an Agent object -> iBatis store the object into database. My route is like this: I am getting error when starting Activemq, and I can't figure out why. I think it is a config problem and I would greatly appreciate any hint or suggestion on how to resolve this problem. This is the error message I am getting: DEBUG DefaultCamelContext - activemq:queue:test converted to endpoint: Endpoint[activemq:queue:test] by component: org.apache.activemq.camel.component.ActiveMQComponent@1302b69 DEBUG DefaultListableBeanFactory - Returning cached instance of singleton bean 'myProcessor' ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: org.apache.camel.NoSuchEndpointException: No endpoint could be found for: ibatis:insertAgent java.lang.RuntimeException: Failed to execute start task. Reason: org.apache.camel.NoSuchEndpointException: No endpoint could be found for: ibatis:insertAgent at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:98) at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57) at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129) at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57) at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) I have placed the SqlMapConfig.xml, and AgentParkStatus.xml inside the {Activemq_base}/bin directory and edits the activemq file to make the bin directory part of the classpath. Here is my SqlMapConfig.xml: Here is my AgentParkStatus.xml insert into ACCOUNT ( ACC_ID, ACC_FIRST_NAME, ACC_LAST_NAME, ACC_EMAIL values ( #id#, #firstName#, #lastName#, #emailAddress# ) Thank you very much in advance for all the help. Best Regards, Woody ------=_Part_68938_18795920.1226142737738--