Thanks for your reply Chrisitan.

When i try to invoke the exception that appens is

: org.apache.camel.NoSuchBeanException: No bean could be found in the
registry for: http://localhost:9911/tomcat-xxx/moduleService

Dont know why...


Code.

    <bean id="spring.remote"
class="org.apache.camel.spring.remoting.CamelProxyFactoryBean">
        <property name="serviceInterface" value="xxxx.ModuleService" />
        <property name="serviceUrl" value="direct:
http://localhost:9911/tomcat-xxx/moduleService"; />
        <property name="camelContextId" value="CamelContext" />
    </bean>



---

the route

        <route>
            <from uri="jms:INCOMING.MAIN.QUEUE" />
            <to uri="bean:spring.remote?method=springRemotingTest(${body})"
/>
        </route>

declaration

<util:properties id="spring-properties">
    <prop key="INCOMING.MAIN.QUEUE">jms:INCOMING.MAIN.QUEUE</prop>
        <prop key="spring.remote">bean:spring.remote</prop>
</util:properties>


2013/9/9 Christian Müller <christian.muel...@gmail.com>

> This component is documented at [1].
> Do you have any issues?
>
> [1] http://camel.apache.org/spring-remoting.html
>
> Best,
> Christian
> -----------------
>
> Software Integration Specialist
>
> Apache Camel committer: https://camel.apache.org/team
> V.P. Apache Camel: https://www.apache.org/foundation/
> Apache Member: https://www.apache.org/foundation/members.html
>
> https://www.linkedin.com/pub/christian-mueller/11/551/642
>
>
> On Mon, Sep 9, 2013 at 6:20 PM, Erwin Etchart <erwin.etch...@gmail.com
> >wrote:
>
> > Hi everybody.
> >
> > I´m developing my first examples with Camel and Spring remoting , but
> > unfortunately with no success.
> > I have  a external app exposing services , wich is a tomcat.
> >
> > But i don´t have clearly how i must connect to the service, i supose that
> > will be something like this.
> >
> >     <bean id="remoteService"
> > class="org.apache.camel.spring.remoting.CamelProxyFactoryBean">
> >         <property name="serviceInterface"   value="MyInterface" />
> >         <property name="serviceUrl" value="
> > http://localhost:9911/tomcat-module/moduleService"; />
> >         <property name="camelContextId" value="CamelContext" />
> >     </bean>
> >
> > ¿I´m i doing something wrong in this bean?
> >
> > Thanks
> >
> > Erwin
> >
>

Reply via email to