Each JMS system whether it is JBoss Messaging, JBoss MQ, ActiveMQ, MQ series or whatever will use a proprietary protocol for communicating between client and server. JMS does not specify any specific wire format.
So you will need to use the JBoss Messaging client libraries if your client needs to communicate with JBoss Messaging.
Thanks Time for clarifying it. So every time a JMS provider is updated we need update client side config also.