Advanced Performance Tuning Guide

Advanced Performance Tuning Guide

B2B Data Exchange JMS Broker

B2B Data Exchange JMS Broker

To improve the performance of the B2B Data Exchange JMS broker, consider the following recommendations:
  • If you split messages with one PowerCenter workflow process the messages with another PowerCenter, send the messages between the PowerCenter workflows in batches of at least 20 messages instead of sending each message separately.
  • Disable persistency when you send messages between PowerCenter workflows.
  • In the activemq.xml file, increase the memory limit and the storage size to match the JVM size. To do this, enter a higher value in the
    memoryUsage limit
    and the
    storeUsage limit
    parameters. For example, if the average message size is 10 KB, and your organization requires the queue to hold up to 1,000 messages, set the memory limit to at least 10 MB.
  • Tune the values for the failover URL in the JNDI connection. For example, to change the timeout, maximum attempts, and initial reconnect relay, you might use the following settings:
    jms.closeTimeout=30000&timeout=30000&maxReconnectAttempts=5&initialReconnectDelay=1000
  • If you expect to create hundreds of AMQ connections either from B2B Data Exchange or from PowerCenter, set the AMQ broker to use the NIO configuration. Locate the following parameter settings:
    <transportConnector name="openwire" uri="tcp://0.0.0.0:18616"...
    Change to the following parameter settings:
    <transportConnector name="openwire1" uri="nio://0.0.0.0:18616?useQueueForAccept=false"/>

0 COMMENTS

We’d like to hear from you!