On Jan 3, 2008 5:04 AM, FabioR <[EMAIL PROTECTED]> wrote:
>
> Only to register the solution that works for me, in bold are the changes I
> did:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <beans xmlns:sm="http://servicemix.apache.org/config/1.0";
>        xmlns:amq="http://activemq.org/config/1.0";
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>        xmlns:spring="http://xbean.org/schemas/spring/1.0";
>        xsi:schemaLocation="http://servicemix.apache.org/config/1.0
> servicemix.xsd">
>
>   <sm:container
>        depends-on="broker"
>        flowName="jms?jmsURL=tcp://localhost:61216"
>        embedded="true"
>        createMBeanServer="true"
>        useMBeanServer="true"
>        deploymentDirPath="../deploy"
>        installationDirPath="../install"
>        MBeanServer="#jmxServer"
>        rootDir="../server"
>        id="jbi">
>
>     <sm:activationSpecs>...</sm:activationSpecs>
>   </sm:container>
>
>   <amq:broker name="broker" useJmx="true">
>     <amq:persistenceAdapter>
>       <amq:journaledJDBC dataDirectory="./data/amq" journalLogFiles="5"/>
>     </amq:persistenceAdapter>
>     <amq:transportConnectors>
>       <amq:transportConnector discoveryUri="multicast://default"
> uri="tcp://localhost:61216"/>
>     </amq:transportConnectors>
>     <amq:networkConnectors>
>       <amq:networkConnector uri="multicast://default"/>
>     </amq:networkConnectors>
>   </amq:broker>
>
> </beans>

Yes, this is exactly what Guillaume suggested, making sure that the
sm:container depends on the broker.

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to