-
1. Re: JDBC persistence speed
timfox Apr 14, 2009 3:02 PM (in response to desbonns62)Have you tried sending multiple messages in a single JMS transaction?
-
2. Re: JDBC persistence speed
desbonns62 Apr 15, 2009 3:49 AM (in response to desbonns62)Thanks for your answer timfox,
Yes I have. I wrote a small piece of code that store a certain number of messages in a buffer before sending all of them in a single JMS message (that's what I called concatenate). This increase considerably the performances (it takes quite the same time to send one message than 1000 messages over a JMS message).
But I would like to know if there is a way that Jboss ESB do it for me?
My problem is that I have to manage a buffer and if I store 1000 messages before sending the JMS message I can pray for my app not to crash otherwise I could lose 1000 messages!
Thanks in advance,
Simon
(And sorry if my English is not perfect :-S) -
3. Re: JDBC persistence speed
timfox Apr 15, 2009 3:56 AM (in response to desbonns62)"desbonns62" wrote:
Thanks for your answer timfox,
Yes I have. I wrote a small piece of code that store a certain number of messages in a buffer before sending all of them in a single JMS message (that's what I called concatenate).
I said transaction, not message.
This increase considerably the performances (it takes quite the same time to send one message than 1000 messages over a JMS message).
But I would like to know if there is a way that Jboss ESB do it for me?
I have no idea. Have you asked on the JBoss ESB forum? -
4. Re: JDBC persistence speed
desbonns62 Apr 15, 2009 12:02 PM (in response to desbonns62)Oh sorry, I'm new in Jboss and it is not so easy to understand all concepts.
So ok I will try to search idea around 'transactions', I didn't found much info on the documentation... I will search on the forum.