Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1.  Download and setup Apache ActiveMQ. Please note that ActiveMQ should be up and running before starting the ESBWSO2 G-Reg.
  2. Copy the following client libraries from the <AMQ_HOME>/lib directory to the <GREG_HOME>/repository/components/lib directory. 

     For ActiveMQ 5.8.0 and above:

    • activemq-broker-5.8.0.jar

    • activemq-client-5.8.0.jar

    • geronimo-jms_1.1_spec-1.1.1.jar

    • geronimo-j2ee-management_1.1_spec-1.0.1.jar

    • hawtbuf-1.9.jar

    For earlier versions of ActiveMQ:

    • activemq-core-5.5.1.jar

    • geronimo-j2ee-management_1.0_spec-1.0.jar

    • geronimo-jms_1.1_spec-1.1.1.jar
  3. Configure the cache.properties file in the <GREG_HOME>/repository/conf directory as follows,

    Code Block
    enabled=true
    class.CacheInvalidationClass=org.wso2.carbon.registry.caching.invalidator.connection.JMSNotification
    initialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory
    providerUrl=tcp://localhost:61616
    securityPrincipal=guest
    securityCredentials=guest
    cacheInvalidateTopic=GlobalCacheInvalidation

...