I am trying to send a message to already existing queue and using the below code and not working. I found this on internet and playing around this. here he is creating queue . But I want to send a message without creating queue. it was throwing an error " javax.jms.JMSException: Wire format negotiation timeout: peer did not send his wire format."
any help is highly appreciated
QueueConnectionFactory connectionFactory=new ActiveMQConnectionFactory("vm://test");