You have to copy all the configuration, i.e. run two jbossmq instances inside the server.
That's because you need a different connection factory to distinguish which one
you want to use.
Client jms api -> jbossmq interceptor chain -> destination manager -> persistence manager
Its also because if you want to use both in the same transaction you need 2 phase commit.
So the client side needs to think it is talking to two different servers.
More details can be found on other posts where this question has been asked before.