Author |
Message
|
kordi |
Posted: Tue Apr 19, 2016 1:53 pm Post subject: File to TOPICSTR PUB/SUB |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
Hi there,
I have and idea to transfer a file to many different queues using publish/subscribe feature but unfortunately have no idea whether there are ready to use tools to do that.
For example, using q tool I can put files onto a queue but are there any known to you tools which could do something similar with topicstr? |
|
Back to top |
|
 |
kordi |
Posted: Tue Apr 19, 2016 10:25 pm Post subject: |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
|
Back to top |
|
 |
PaulClarke |
Posted: Wed Apr 20, 2016 3:08 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Q can publish to a topic directly. In fact one of the examples in the program help text is exactly that:
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
kordi |
Posted: Wed Apr 20, 2016 3:34 am Post subject: |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
|
Back to top |
|
 |
exerk |
Posted: Wed Apr 20, 2016 5:44 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
I think you may find it will fail with Pub/Sub - I believe Spazio uses the message id as a correlation for the header, payload, and footer messages that each file is chunked into, but it was a quick test so I could be wrong... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
kordi |
Posted: Wed Apr 20, 2016 1:42 pm Post subject: |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
exerk You are right. I can put file onto alias queue which points topic, but I cannot retrieve the file. I think it happened because file was sliced into pieces like you wrote.
When using Q tool load and offload of file from the queue works perfectly fine Thanks Paul for this awesome tool! |
|
Back to top |
|
 |
PaulClarke |
Posted: Wed Apr 20, 2016 2:16 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
You are welcome - awesome is what we do  _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
kordi |
Posted: Thu Apr 21, 2016 2:25 am Post subject: |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
|
Back to top |
|
 |
|