I need to create a JMS connection factory programmatically in a remote standalone (non-JBoss AS) JVM using just a simple endpoint specification; ideally, given just TCP/IP host:port address of a JBoss Messaging server.
org.jboss.jms.client.JBossConnectionFactory seems like the logical entry point, but setting up the delegates looks a bit involved; a pointer in the right direction, and warning about pitfalls would be highly appreciated.
Thank you,
Attila.
Programmatically creating connection factories is not supported in JBM 1.x - they must be looked up from JNDI.
In JBM 2.x we do support this.