Class ActiveMQWASInitialContextFactory

  • All Implemented Interfaces:
    InitialContextFactory

    public class ActiveMQWASInitialContextFactory
    extends ActiveMQInitialContextFactory
    A InitialContextFactory for WebSphere Generic JMS Provider.

    Works on WebSphere 5.1. The reason for using this class is that custom property defined for Generic JMS Provider are passed to InitialContextFactory only if it begins with java.naming or javax.naming prefix. Additionally provider url for the JMS provider can not contain ',' character that is necessary when the list of nodes is provided. So the role of this class is to transform properties before passing it to ActiveMQInitialContextFactory.