Tags » Software

How to Receive a Message from an Apache ActiveMQ Topic with BSF4ooRexx

W/o Durability

connFactory = .bsf~new('org.apache.activemq.ActiveMQConnectionFactory', 'tcp://localhost:61616')

conn = connFactory~createConnection()

sess = conn~createSession(.false, bsf.getConstant('javax.jms.Session', 'AUTO_ACKNOWLEDGE'))

dest = sess~createQueue('SampleQueue')

cons = sess~createConsumer(dest)

conn~bsf.invoke('start')

msg = cons~receive()

say msg

conn~close()

::requires 'BSF.CLS' 52 more words
Software

How to Receive a Message from an Apache ActiveMQ Queue with BSF4ooRexx

connFactory = .bsf~new('org.apache.activemq.ActiveMQConnectionFactory', 'tcp://localhost:61616')

conn = connFactory~createConnection()

sess = conn~createSession(.false, bsf.getConstant('javax.jms.Session', 'AUTO_ACKNOWLEDGE'))

dest = sess~createQueue('SampleQueue')

cons = sess~createConsumer(dest)

conn~bsf.invoke('start')

msg = cons~receive()

say msg

conn~close()

::requires 'BSF.CLS'
Software

Apple blocks access to Secret in Brazil after anti-bullying ruling

A few days ago, a Brazilian judge ordered Apple and Google to pull Secret from the local app store and wipe it from the handsets of whose who had downloaded it. 124 more words

News

Environment Variables in OSX Mavericks

In OSX Lion and previous versions, you used to be able to define your environment variables within the

~/.MacOSX/environment.plist

file. However this has changed in OSX Mavericks, as least for windowed applications to the following file… 135 more words

Software

Tricky Testing with Old Browser?

Last weeks I have been running tests with an old browser version. It was easy to install local old version of Firefox. To get it running I had to create own user profile accustomed to that version. 273 more words

Testing

Babylon 10.0.2 r(15) Final Serial Key is Here! [Latest]


Babylon 10

Babylon is the worlds leading dictionary and language translation software. Babylon offers you the most intuitive tool for all your translation needs. With Babylon you can quickly translate emails, web pages, documents, instant messages, and more. 169 more words

Software