Results 1 to 2 of 2

Thread: Derby JDBC message store

  1. #1
    Join Date
    Dec 2011
    Posts
    1

    Question Derby JDBC message store

    Hi,

    I am using jdbc message store with the derby embedded datasource for providing persistence.Messages generated by the source are more than 1000 per second. The throughput is low as it is opening and closing the connection while writing each message to the message store. Ideally I would expect it to use the SmartDataSourceto avoid closing the conn everytime but not able to get it right.

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    You can reference any DataSource implementation you want. In fact, just using a pool like DBCP will avoid the constant opening and closing of connections.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •