On Jan 30, 2008 12:58 PM, yrkhanal <[EMAIL PROTECTED]> wrote:
>
> Thanks Bruce it was informative for me.
> I think I need to enable all the flow then.
> Can you please tell me like how does the no of container has effect on
> performance and where can I find information about them.

The number of containers should only have an effect on performance if
there is some latency between them or if there is an extremely large
amount of them. Unfortunately there is no information about this topic
in the wiki.

> Also if I restart ActiveMQ servicemix containers doesn't seem to connect to
> that again unless I start servicemix as well.Can you please post your
> opinion on this as well.

This is directly related to the endpoints that are being used as a
result of your configuration for the servicemix-jms component in the
xbean.xml file. If you're using the jms:endoint, this refers to the
endpoints referenced here:

http://servicemix.apache.org/servicemix-jms.html

The jms:endpoint does not support automatic reconnection and is the
problem that you're seeing. To work around this, you will need to
instead use the newer jms:consumer endpoint that is referenced here:

http://servicemix.apache.org/servicemix-jms-new-endpoints.html

The jms:consumer endpoint supports reconnection as well as various
levels of caching the connection, session and consumer. Depending on
the JMS provider you are using, your mileage may vary (YMMV).

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