$title =

How to Send a Message to an Apache ActiveMQ Queue with ooRexx

;

$content = [

socket = .socket~new()

socket~connect(.inetaddress~new('localhost', 61613))

socket~send('CONNECT' || .string~nl || .string~nl || .string~null)

socket~send('SEND' || .string~nl || 'destination:SampleQueue' || .string~nl || .string~nl || 'Simples Assim' || .string~null)

socket~send('DISCONNECT' || .string~nl || .string~nl || .string~null)

socket~close()

::requires 'socket.cls'

];

$date =

;

$category =

;

$author =

;