activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve.V." <>
Subject Re: Copy Message from queue to a text file.
Date Thu, 29 Aug 2013 23:13:39 GMT
The following is a sample SAS program that puts a message on a queue, then
gets it off and writes it to a flat file:

/* Assign a fileref to the queue. */
filename myq ActiveMQ user=admin pass=admin

/* Put a message on a queue named "mytestq" */
data _null_; file myq; put 'This just a text message.'; run;
/* GET the message off the queue and write it to "flat.txt". */
data _null_; file 'flat.txt'; infile myq; input; put _infile_; run;

Stephen Vincent
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message