You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by svdv <Sr...@Copart.Com> on 2007/12/28 01:38:58 UTC

Writing to JMS queues from RPG programs

Hello All,
   We are looking at using ActiveMQ as a way to have asynchronous delivery
of data from a AS/400 backend to a front end Java application. There is a
always IBM's Dataqueues that can be used. But having a JMS based interface
to communicate between the front end and the back end would provide a better
architecture. Could someone please shed some light if this is possible with
ActiveMQ

Thanks in Advance
Sriram

-- 
View this message in context: http://www.nabble.com/Writing-to-JMS-queues-from-RPG-programs-tp14520698s2354p14520698.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Writing to JMS queues from RPG programs

Posted by Bruce Snyder <br...@gmail.com>.
On Dec 27, 2007 5:38 PM, svdv <Sr...@copart.com> wrote:
>
> Hello All,
>    We are looking at using ActiveMQ as a way to have asynchronous delivery
> of data from a AS/400 backend to a front end Java application. There is a
> always IBM's Dataqueues that can be used. But having a JMS based interface
> to communicate between the front end and the back end would provide a better
> architecture. Could someone please shed some light if this is possible with
> ActiveMQ

Take a look at the STOMP protocol:

http://activemq.apache.org/stomp.html

The STOMP protocol is used to implement clients for all the scripting
languages because it's a very text-only protocol. Maybe you could
create a STOMP client for RPG.

Another alternative is to use Java from the AS/400 so that you could
just write an application that makes standard JMS calls to the
ActiveMQ broker.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Writing to JMS queues from RPG programs

Posted by Pete Helgren <Pe...@valadd.com>.
Have you looked at HTTPAPI by Scott Klement ? 
(http://www.scottklement.com/httpapi/)

Pete Helgren

svdv wrote:
> Thank you for your response. I am in the process of exploring the REST based
> approach as RPG has a way to send HTTP POST requests. Currently RPG does a
> HTTP POST to a servlet which processes the information synchronously. By
> using REST based service and hooking it up to a ActiveMQ queue i can have
> the RPG calls processed asynchronously.
>
> Thanks
> Sriram
>
>
> mjustin wrote:
>   
>> Hello Sriram
>>
>> If there is a HTTP package for RPG then the application could use the REST
>> protocol which seems to be very easy to implement. (However I have only
>> experience with STOMP.)
>>
>> Michael
>>
>>
>> svdv wrote:
>>     
>>> Hello All,
>>>    We are looking at using ActiveMQ as a way to have asynchronous
>>> delivery of data from a AS/400 backend to a front end Java application.
>>> There is a always IBM's Dataqueues that can be used. But having a JMS
>>> based interface to communicate between the front end and the back end
>>> would provide a better architecture. Could someone please shed some light
>>> if this is possible with ActiveMQ
>>>
>>> Thanks in Advance
>>> Sriram
>>>
>>>
>>>       
>>     
>
>   

Re: Writing to JMS queues from RPG programs

Posted by svdv <Sr...@Copart.Com>.
Thank you for your response. I am in the process of exploring the REST based
approach as RPG has a way to send HTTP POST requests. Currently RPG does a
HTTP POST to a servlet which processes the information synchronously. By
using REST based service and hooking it up to a ActiveMQ queue i can have
the RPG calls processed asynchronously.

Thanks
Sriram


mjustin wrote:
> 
> 
> Hello Sriram
> 
> If there is a HTTP package for RPG then the application could use the REST
> protocol which seems to be very easy to implement. (However I have only
> experience with STOMP.)
> 
> Michael
> 
> 
> svdv wrote:
>> 
>> Hello All,
>>    We are looking at using ActiveMQ as a way to have asynchronous
>> delivery of data from a AS/400 backend to a front end Java application.
>> There is a always IBM's Dataqueues that can be used. But having a JMS
>> based interface to communicate between the front end and the back end
>> would provide a better architecture. Could someone please shed some light
>> if this is possible with ActiveMQ
>> 
>> Thanks in Advance
>> Sriram
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Writing-to-JMS-queues-from-RPG-programs-tp14520698s2354p14562247.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Writing to JMS queues from RPG programs

Posted by mjustin <mi...@gmx.net>.

Hello Sriram

If there is a HTTP package for RPG then the application could use the REST
protocol which seems to be very easy to implement. (However I have only
experience with STOMP.)

Michael


svdv wrote:
> 
> Hello All,
>    We are looking at using ActiveMQ as a way to have asynchronous delivery
> of data from a AS/400 backend to a front end Java application. There is a
> always IBM's Dataqueues that can be used. But having a JMS based interface
> to communicate between the front end and the back end would provide a
> better architecture. Could someone please shed some light if this is
> possible with ActiveMQ
> 
> Thanks in Advance
> Sriram
> 
> 

-- 
View this message in context: http://www.nabble.com/Writing-to-JMS-queues-from-RPG-programs-tp14520698s2354p14550804.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.