Hello, please help. No matter what I do I am getting:
11:53:43,831 INFO [STDOUT] WARN - DefaultBroker -
ServiceName
({http://com.bla.esb}sendEmail) specified for routing, but can't find it
registered
camel-context.xml
--------------------------
<camelContext useJmx="true"
xmlns="http://activemq.apache.org/camel/schema/spring">
<package>com.bla.esb.smx.camel</package>
</camelContext>
RouterBean.java
--------------------------
public void configure() {
from("jbi:service:http://com.bla.esb/sendEmail")
.setHeader("subject").constant("Demo")
.setHeader("to").constant("[EMAIL PROTECTED]")
.setHeader("from").constant("[EMAIL PROTECTED]")
.to("smtp://smtp.bla.com?password=aaaa&[EMAIL PROTECTED]");
}
http-su/xbean.xml
---------------------
<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:bla="http://com.bla.esb"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://servicemix.apache.org/http/1.0
http://servicemix.apache.org/schema/servicemix-http-3.2.2.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<http:endpoint service="bla:testEmail"
targetService="bla:sendEmail"
endpoint="endpoint"
role="consumer"
locationURI="http://0.0.0.0:8092/test/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
soap="true" />
</beans>
--
View this message in context:
http://www.nabble.com/Camel-JBI-endpoint-problems-tp19882025p19882025.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.