Hi,

ISay and SayService are the ones from the camel source distribution:

http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/remoting/SayService.java?view=markup
SayService.java 
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/remoting/ISay.java?view=markup
ISay.java 

The complete spring application context declaring SayService and the camel
context is:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns:camel="http://activemq.apache.org/camel/schema/spring";
        xsi:schemaLocation="
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
    ">

        <bean id="sayService"
                class="org.apache.camel.spring.remoting.SayService" />

        <camelContext id="camel"
                xmlns="http://activemq.apache.org/camel/schema/spring";>

                <export id="say"
                        
uri="activemq:topic:org.apache.camel.spring.remoting.ISay"
                        serviceRef="sayService"
                        
serviceInterface="org.apache.camel.spring.remoting.ISay" />
        </camelContext>

        <bean id="activemq"
                class="org.apache.camel.component.jms.JmsComponent"
                depends-on="broker">
                <property name="connectionFactory">
                        <bean
                                
class="org.apache.activemq.ActiveMQConnectionFactory">
                                <property name="brokerURL"
                                        value="tcp://${activemq.host}:61616" />
                        </bean>
                </property>
        </bean>
</beans>

Regards,

Carsten


davsclaus wrote:
> 
> What does your SayService interface look like? And how is it wired in the
> config file?  (serviceRef="sayService")
> 

-- 
View this message in context: 
http://www.nabble.com/spring-remoting-over-jms-tp14640388s22882p14648102.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to