Hi Jean,
Thanks for the reply.  I added the service unit and it autogenerated an
ExampleService.  When I attempt to start service mix I get the following
message:

INFO: Creating Service
{http://example.com/exampleService}ExampleServiceService from class
org.apache.servicemix.samples.bridge.ExampleService
Oct 29, 2008 4:51:48 PM org.apache.cxf.configuration.spring.ConfigurerImpl
getBeanName
INFO: Could not determine bean name for instance of class
org.apache.cxf.transport.jbi.JBIDestination.
Oct 29, 2008 4:51:48 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be
jbi://ID-165-189-102-106-11d45501dd3-39-3

Here is what the xbean.xml looks like:

<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";
       xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0
http://servicemix.apache.org/schema/servicemix-cxfse-3.2.2.xsd
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

    <cxfse:endpoint>
        <cxfse:pojo>
          <bean name="exampleServiceBean"
class="org.apache.servicemix.samples.bridge.ExampleService" />
        </cxfse:pojo>
    </cxfse:endpoint>

</beans>

Also, I am wondering in my eip configuration, how would I call this POJO. 
Here is a simple static route list, I have set up:

        <eip:static-recipient-list service="b:recipients" endpoint="endpoint">
                <eip:recipients>
                        <eip:exchange-target service="b:jms" />
                        <eip:exchange-target service="b:file" />
                        <eip:exchange-target service="WHAT DO I PUT HERE TO 
CALL THE POJO?" />
                </eip:recipients>
        </eip:static-recipient-list>

Thanks for the assistance!

-Yogesh


-- 
View this message in context: 
http://www.nabble.com/Connecting-POJOs-to-Service-Mix-tp20234290p20236733.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to