If you are trying to publish messages to a remote destination using the torquebox-messaging gem you will no doubt run into the same issue that I did:
Java::JavaxJms::JMSException: There is no queue with name "/queues/YourQueue" [https://gist.github.com/arielvalentin/6276714]
It turns out that the TorqueBox::Messaging::ConnectionFactory uses the HornetQJMSClient under the hood and bypasses JNDI so you just have to specify the queue name and not the JNDI key.
You can read more about how to skip JNDI here: http://docs.jboss.org/hornetq/2.2.2.Final/user-manual/en/html/using-jms.html#d0e1328
Happy Publishing.
1 comment:
Your style is very unique in comparison to other folks I have read stuff from. I appreciate you for posting when you have the opportunity, Guess I'll just book mark this blog. all of craigslist
Post a Comment