Access configured in browser topics from jython

Extending Hermes with Python

Access configured in browser topics from jython

Postby linny » Fri Jan 20, 2012 10:07 am

Hi,
I can't use jndi context lookup due to some restrictions, but I have topics, configured in hermes GUI - can I access them directly by name from jython script?
linny
 
Posts: 4
Joined: Wed Jan 18, 2012 1:59 pm

Re: Access configured in browser topics from jython

Postby Colin » Fri Jan 20, 2012 11:36 am

Hi,

Yes you can.

Regards,

Colin.
Colin
Site Admin
 
Posts: 913
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK

Re: Access configured in browser topics from jython

Postby linny » Fri Jan 20, 2012 12:28 pm

Actually, the question was "how" :)
I couldn't find in hermes javadoc mathod like gettopic("topicname) or smth. like this. AFAIK, createTopic is not for topic access.
linny
 
Posts: 4
Joined: Wed Jan 18, 2012 1:59 pm

Re: Access configured in browser topics from jython

Postby Colin » Fri Jan 20, 2012 2:04 pm

Colin
Site Admin
 
Posts: 913
Joined: Sun Sep 19, 2004 4:49 pm
Location: London, UK


Return to Python

Who is online

Users browsing this forum: No registered users and 1 guest

cron