Monday 15 February 2010

JMeter and Oracle AQ -


Anyone have any experience using JMeter and Oracle AQ? I am trying to publish a message in Oracle, using a JMS publisher, but my only information is from the binding file.

First of all, read ( OracleƂ® Fusion Middleware for Configuring and Managing JMS Oracle WebLogic Server chapter 8: Oracle AQ JMS with interoperability), so it needs to know about you that provides you with AQ allows users to grant, AJ Jems connection factories name, and AQ remote Jeandiai Jems Destination name It says weblogic, but they use very config we do.

  1. Put Oracle JDBC Jar (ojdbc6.jar) and Oracle AQ Jar (found in $ aqapi.jar, $ in Weblogic.

      java.naming : WL_HOME / server / lib) in jmeter's lib dir   
  2. Create jndi.properties file with the following entries. factory.initial = oracle.jms.AQjmsInitialContextFactory db_url = Your Oracle DB instance JDBC URL java.naming.security.principal = username_with_aq_permission_grants java.naming.security.credentials = password

  3. the put jndi.properties in a jar

      jar cf my- JNDI-properties.jar jndi.properties   

    and put in a JM EB ODD DIR

  4. Create Jems publisher Jemaitr, and enter:

    1. Check the "use" jndi.properties file
    2. Connection Factory: See and keep an AM JMS prefix value. Do not use normal factories
    3. Destination :. Either line / Your_Queue_Name or subject / Your_Topic_Name
    4. Uncheck "? Use authorization"

      Fill out what you need.

    5. Have fun.

      Thanks for the info jndi.properties.

No comments:

Post a Comment