Hi,

  I finally got around to trying out the "new" JMS provider enpoints.  I
have a marshaler which is setting the JMSXGroupID (which i think is working
ok).

  Now it just so happens that I can re-use my marshaler in about 4 places in
my system, which is nice, so I moved the marshaller into a shared library. 
Deployed this no problem.  But now when I deploy the SA with the SU that
uses the marshaler in the shared lbrary, spring refuses to find my marshaler
class.  The SA and SU both build correctly so I have the correct
dependencies set in the POM's.

  Is there something that I need to specify in the xbean's that will use the
shared library?  My xbean.xml is below for perusal:

<?xml version="1.0" encoding="UTF-8"?>
<beans  xmlns:jms="http://servicemix.apache.org/jms/1.0";
        xmlns:project="http://www.company.com/project";
        xmlns:amqpool="http://jencks.org/amqpool/2.0";
>

        <jms:provider service="project:aGroupedQueue"
                endpoint="queueEndpoint"
                pubSubDomain="false"
                destinationName="GROUPED-QUEUE"
                connectionFactory="#connectionFactory"
                marshaler="#groupMarshaler"
        />

        <amqpool:pool
                id="connectionFactory"
                brokerURL="discovery:(multicast://default)"
                maxConnections="8"
        />

        <bean id="groupMarshaler" class="com.company.project.GroupMarshaler"/>
</beans>

Regards, Paul.

p.s.  this is SMX 3.2.1
-- 
View this message in context: 
http://www.nabble.com/xbean-injection-classpath-and-shared-libraries-tp15495536s12049p15495536.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to