Can anyone guide me when to use acceptor and when to use jms client. whether there is any advantage of using one over other.Assume on the both end I have java application running.
You will need both. The acceptor is found at the server side (broker) and listening to a particular port. The JMS client then connects to the port from remote.
Thomas
PS.: I suggest posting Sonic related questions in the Sonic sub-forum