added factory for JMSContainer