I guess I'm asking if JBI will perform better than or worse than JMS. My
setup has 2 camel SAs the first one receives data on a ActiveMQ topic and
then passes the processed data to another SA within the same Servicemix. I
was under the impression that I should use JBI between the 2 SAs, but we've
found much better performance with JMS.
For instance,
Camel SA 1: (JMS sender)
from("activemq:topic:myInputTopic").process(new
Processor()).to("activemq:topic:myInternalTopic");
Camel SA 2: (JMS Receiver)
from("activemq:topic:myInternalTopic").process(newProcessor());
Camel SA 1: (JBI sender)
from("activemq:topic:myInputTopic").process(new
Processor()).to("jbi:service:servicemix:myService");
Camel SA 2: (JMS Receiver)
from("jbi:service:servicemix:myService").process(newProcessor());
We are seeing much better performance with the first setup (along with some
JMS configuration) ~10k messages per second. With the second example with
JBI, I'm seeing close to 20 messages per second.
Ashwin Karpe wrote:
>
> Hi,
>
> When you say you swithch the Camel SA's from JMS to use JBI are you using
> JMS Flow...?
>
> Can you also post a sample code (scrubbed if necessary) of what your camel
> SA's look like? This is unusual...
>
> While JBI is certainly less performant than straight JMS communication due
> to MEP conformance requirements,thereby increasing the number of
> interactions between service endpoints and consequently JMS payloads
> between components, it should not be as bad or come into play unless you
> use JMS flow.
>
> Can you please clarify?
>
> Cheers,
>
> Ashwin...
>
> GrkEngnr wrote:
>>
>> Hello,
>>
>> I currently have a configuration in which I have 2 camel SA converting
>> messeges and sending to a third camel SA. Currently we are using JMS as
>> the connection between the SAs, but when I switch in camel to use JBI, I
>> have horrible performance. JMS non-durable topic can send 10-12k messages
>> per second. When I switch to JBI between the 2 camel SAs, I get about 20
>> messages per second.
>>
>> What am I missing? How can I configure the jbi for maximum throughput?
>> All service assemblies are running in a single instance of Servicemix.
>> Can I configure the NMR? (for instance are messages being persisted?)
>>
>
>
--
View this message in context:
http://www.nabble.com/JBI-performance-tp21615804p21633775.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.