IMHO, it really depends on how the legacy code was written.
If it was written using vanilla JMS, then it should be easy. Generally, you just have to change where the administered objects (connection factories, destinations) are created (usually from JNDI). It its from JNDI, then you can just use the ActiveMQ version of it and *hopefully* it should work. It also depends I guess if the SonicMQ version you are using is JMS 1.1 compliant or not.
admarrs wrote:
I'm fairly new to this, so could use some help/pointers. I have some legacy client code (no source) that was written to use SonicMQ as its JMS broker (connection, users, passwords, ports etc all predefined). Is it possible to easily configure ActiveMQ to replace SonicMQ as the JMS broker without the need to re-write the legacy code?