Forum Discussion
MatthiasBuck
12 years agoOccasional Contributor
Thanks Shadid,
Sorry, I just assumed that the person posting the example of how to clear a queue from groovy has ran his script at least once.
Anyway, unfortunately the API doesn't contain enough information to work with it.
Not that I don't know how to use java doc, it just doesn't contain enough information to work with it.
For instance, I'm trying to use HermesUtils.getHermes(WsdlProject project, String sessionName) and it doesn't tell me what sessionName would be.
Here is the extract from the api http://www.soapui.org/apidocs/com/eviware/soapui/impl/wsdl/submit/transports/jms/util/HermesUtils.html
getHermes
public static hermes.Hermes getHermes(WsdlProject project,
String sessionName)
throws NamingException
Parameters:
project -
sessionName -
Returns:
hermes.Hermes
Throws:
NamingException
How do I find out what sessionName is?
Once I know that, I'm sure I'll run across additional items that don't have documentation in the java docs.
I will open another topic to discuss creating a script to clear a hermes queue since this doesn't really fit here.
Anyway, thanks for your help so far, I really appreciate it.
Matthias
Sorry, I just assumed that the person posting the example of how to clear a queue from groovy has ran his script at least once.
Anyway, unfortunately the API doesn't contain enough information to work with it.
Not that I don't know how to use java doc, it just doesn't contain enough information to work with it.
For instance, I'm trying to use HermesUtils.getHermes(WsdlProject project, String sessionName) and it doesn't tell me what sessionName would be.
Here is the extract from the api http://www.soapui.org/apidocs/com/eviware/soapui/impl/wsdl/submit/transports/jms/util/HermesUtils.html
getHermes
public static hermes.Hermes getHermes(WsdlProject project,
String sessionName)
throws NamingException
Parameters:
project -
sessionName -
Returns:
hermes.Hermes
Throws:
NamingException
How do I find out what sessionName is?
Once I know that, I'm sure I'll run across additional items that don't have documentation in the java docs.
I will open another topic to discuss creating a script to clear a hermes queue since this doesn't really fit here.
Anyway, thanks for your help so far, I really appreciate it.
Matthias
Related Content
Recent Discussions
- 7 hours ago