cancel
Showing results for 
Search instead for 
Did you mean: 

Fail to Connect to JMS using Groovy script

SOLVED
Highlighted
New Contributor

Fail to Connect to JMS using Groovy script

Hi,

New to community. 

I couldnt able to run scripts marked as solutions for TechCorner Challenge #10 . ( Reading messages from Queue).

Could you suggest any pre-requisite to run this scripts. (If any jars, where to refer)

Also what should i give Host & port number  ?

 

def host = "tcp://x.x.x.x:61616"

 

Many Thanks

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Hero

Re: Fail to Connect to JMS using Groovy script

The scripts of mine that were marked as an answer require the ActiveMQ JAR to be copied and placed into the LIB folder within your ReadyAPI installation.

 

The line def host = "tcp://x.x.x.x:61616" needs to be pointed at the ActiveMQ server you wish to utilize the scripts to run against. These scripts require an actively running ActiveMQ server to communicate with. You can get the ActiveMQ Client Jar from the Maven Repository 




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!

View solution in original post

Highlighted
Community Manager

Re: Fail to Connect to JMS using Groovy script

Thank you for the clarification Matthew, this is much appreciated!

 

@sprasadboga did this help you run the script?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

4 REPLIES 4
Highlighted
Community Hero

Re: Fail to Connect to JMS using Groovy script

The scripts of mine that were marked as an answer require the ActiveMQ JAR to be copied and placed into the LIB folder within your ReadyAPI installation.

 

The line def host = "tcp://x.x.x.x:61616" needs to be pointed at the ActiveMQ server you wish to utilize the scripts to run against. These scripts require an actively running ActiveMQ server to communicate with. You can get the ActiveMQ Client Jar from the Maven Repository 




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!

View solution in original post

Highlighted
Community Manager

Re: Fail to Connect to JMS using Groovy script

Thank you for the clarification Matthew, this is much appreciated!

 

@sprasadboga did this help you run the script?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

Highlighted
New Contributor

Re: Fail to Connect to JMS using Groovy script

Many Thanks !

Tags (1)
Community Hero

Re: Fail to Connect to JMS using Groovy script

More than welcome, and I am always happy to help! I've just  been tied up a lot so I missed the message you sent at first. Just FYI, that's why it's better to make a post instead of private messaging someone. 😁




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors