Ask a Question

Fail to Connect to JMS using Groovy script

SOLVED
sprasadboga
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

 

4 REPLIES 4
groovyguy
Champion Level 0

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!
sonya_m
SmartBear Alumni (Retired)

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

 

@sprasadboga did this help you run the script?


Sonya Mihaljova
Community and Education Specialist

Many Thanks !

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!
cancel
Showing results for 
Search instead for 
Did you mean: