Creating an Initial Context Factory code for ActiveMQ Create an Initial Context Factory code for Apache ActiveMQ from the Applications Manager. Procedure Go to Application Platform > System Administration > Initial Context Factory Codes, and click Create. Create one record for org.apache.activemq.jndi.ActiveMQInitialContextFactory and name it as ActiveMQ. For more information, see Create an initial context factory code.