You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by SLYSLY <sa...@gmail.com> on 2014/02/11 17:18:49 UTC

Send a message to a distant ActiveMq Queue (using MS-DOS Command Line)

Hi !
My company uses a very old application developed in Uniface 7
My team currently develops a new application based on Talend ESB and Java
Programs.

Today, we have a big issue.
We need to run the too application together.
So we need to send a message from Uniface 7 to ActiveMq.

However, Uniface 7 don't have any librairy that'allow this communication.
Based on Windows Server 2003, our Uniface application could only call
command-line via DOS.

Is there any activeMq client that we could install on our server to send a
message using a command line ?
Is there another way to reach an AMQ queue ?

Thanks for your help in advance. Please reply if you need more info. 
 





--
View this message in context: http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Send a message to a distant ActiveMq Queue (using MS-DOS Command Line)

Posted by Johan Edstrom <se...@gmail.com>.
The windows open wire stuff would work well.

You have nms and cms 

Sent from my pressure cooker.

> On Feb 20, 2014, at 19:32, artnaseef <ar...@artnaseef.com> wrote:
> 
> Cygwin?
> 
> Sent from my iPhone
> 
>> On Feb 19, 2014, at 4:40 PM, "ceposta [via ActiveMQ]" <ml...@n4.nabble.com> wrote:
>> 
>> Or this one 
>> https://github.com/ebuzzing/bash-mq
>> 
>>> On Wed, Feb 19, 2014 at 4:13 PM, Gary Tully <[hidden email]> wrote:
>>> 
>>> Though unix, this may inspire 
>>> http://www.nobugs.org/blog/archives/2008/05/11/squawk-simple-queues-using-awk/comment-page-1/
>>>> On 11 Feb 2014 17:01, "SLYSLY" <[hidden email]> wrote: 
>>>> 
>>>> Hi ! 
>>>> My company uses a very old application developed in Uniface 7 
>>>> My team currently develops a new application based on Talend ESB and Java 
>>>> Programs. 
>>>> 
>>>> Today, we have a big issue. 
>>>> We need to run the too application together. 
>>>> So we need to send a message from Uniface 7 to ActiveMq. 
>>>> 
>>>> However, Uniface 7 don't have any librairy that'allow this communication. 
>>>> Based on Windows Server 2003, our Uniface application could only call 
>>>> command-line via DOS. 
>>>> 
>>>> Is there any activeMq client that we could install on our server to send a 
>>>> message using a command line ? 
>>>> Is there another way to reach an AMQ queue ? 
>>>> 
>>>> Thanks for your help in advance. Please reply if you need more info. 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> View this message in context: 
>>>> http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>> 
>> 
>> 
>> -- 
>> Christian Posta 
>> http://www.christianposta.com/blog
>> twitter: @christianposta 
>> http://www.christianposta.com/blog
>> 
>> 
>> If you reply to this email, your message will be added to the discussion below:
>> http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809p4678175.html
>> To start a new topic under ActiveMQ - User, email ml-node+s2283324n2341805h3@n4.nabble.com 
>> To unsubscribe from ActiveMQ - User, click here.
>> NAML
> 
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809p4678223.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Send a message to a distant ActiveMq Queue (using MS-DOS Command Line)

Posted by artnaseef <ar...@artnaseef.com>.
Cygwin?

Sent from my iPhone

> On Feb 19, 2014, at 4:40 PM, "ceposta [via ActiveMQ]" <ml...@n4.nabble.com> wrote:
> 
> Or this one 
> https://github.com/ebuzzing/bash-mq
> 
> On Wed, Feb 19, 2014 at 4:13 PM, Gary Tully <[hidden email]> wrote:
> 
> > Though unix, this may inspire 
> > http://www.nobugs.org/blog/archives/2008/05/11/squawk-simple-queues-using-awk/comment-page-1/
> > On 11 Feb 2014 17:01, "SLYSLY" <[hidden email]> wrote: 
> > 
> >> Hi ! 
> >> My company uses a very old application developed in Uniface 7 
> >> My team currently develops a new application based on Talend ESB and Java 
> >> Programs. 
> >> 
> >> Today, we have a big issue. 
> >> We need to run the too application together. 
> >> So we need to send a message from Uniface 7 to ActiveMq. 
> >> 
> >> However, Uniface 7 don't have any librairy that'allow this communication. 
> >> Based on Windows Server 2003, our Uniface application could only call 
> >> command-line via DOS. 
> >> 
> >> Is there any activeMq client that we could install on our server to send a 
> >> message using a command line ? 
> >> Is there another way to reach an AMQ queue ? 
> >> 
> >> Thanks for your help in advance. Please reply if you need more info. 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> -- 
> >> View this message in context: 
> >> http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809.html
> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. 
> >>
> 
> 
> 
> -- 
> Christian Posta 
> http://www.christianposta.com/blog
> twitter: @christianposta 
> http://www.christianposta.com/blog
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809p4678175.html
> To start a new topic under ActiveMQ - User, email ml-node+s2283324n2341805h3@n4.nabble.com 
> To unsubscribe from ActiveMQ - User, click here.
> NAML




--
View this message in context: http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809p4678223.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Send a message to a distant ActiveMq Queue (using MS-DOS Command Line)

Posted by Christian Posta <ch...@gmail.com>.
Or this one
https://github.com/ebuzzing/bash-mq

On Wed, Feb 19, 2014 at 4:13 PM, Gary Tully <ga...@gmail.com> wrote:
> Though unix, this may inspire
> http://www.nobugs.org/blog/archives/2008/05/11/squawk-simple-queues-using-awk/comment-page-1/
> On 11 Feb 2014 17:01, "SLYSLY" <sa...@gmail.com> wrote:
>
>> Hi !
>> My company uses a very old application developed in Uniface 7
>> My team currently develops a new application based on Talend ESB and Java
>> Programs.
>>
>> Today, we have a big issue.
>> We need to run the too application together.
>> So we need to send a message from Uniface 7 to ActiveMq.
>>
>> However, Uniface 7 don't have any librairy that'allow this communication.
>> Based on Windows Server 2003, our Uniface application could only call
>> command-line via DOS.
>>
>> Is there any activeMq client that we could install on our server to send a
>> message using a command line ?
>> Is there another way to reach an AMQ queue ?
>>
>> Thanks for your help in advance. Please reply if you need more info.
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>



-- 
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta

Re: Send a message to a distant ActiveMq Queue (using MS-DOS Command Line)

Posted by Gary Tully <ga...@gmail.com>.
Though unix, this may inspire
http://www.nobugs.org/blog/archives/2008/05/11/squawk-simple-queues-using-awk/comment-page-1/
On 11 Feb 2014 17:01, "SLYSLY" <sa...@gmail.com> wrote:

> Hi !
> My company uses a very old application developed in Uniface 7
> My team currently develops a new application based on Talend ESB and Java
> Programs.
>
> Today, we have a big issue.
> We need to run the too application together.
> So we need to send a message from Uniface 7 to ActiveMq.
>
> However, Uniface 7 don't have any librairy that'allow this communication.
> Based on Windows Server 2003, our Uniface application could only call
> command-line via DOS.
>
> Is there any activeMq client that we could install on our server to send a
> message using a command line ?
> Is there another way to reach an AMQ queue ?
>
> Thanks for your help in advance. Please reply if you need more info.
>
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Re: Send a message to a distant ActiveMq Queue (using MS-DOS Command Line)

Posted by artnaseef <ar...@artnaseef.com>.
I'm not aware of existing command-line friendly tools.

Some ideas:
* Use ActiveMQ-CPP to create a command-line program
* Write a simple java program run from the command-line
* Use ActiveMQ-NMS to create a command-line program
* Use wget or curl to POST the messages to the activemq REST api

Note there are plenty of ways to integrate a Windows solution with ActiveMQ
which may apply to your situation.  I'm just focusing on the requirement of
using a command-line activemq client.




--
View this message in context: http://activemq.2283324.n4.nabble.com/Send-a-message-to-a-distant-ActiveMq-Queue-using-MS-DOS-Command-Line-tp4677809p4677839.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.