ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Get and PUt

Post new topic  Reply to topic
 Get and PUt « View previous topic :: View next topic » 
Author Message
Andreahbl
PostPosted: Mon Dec 05, 2005 12:33 pm    Post subject: Get and PUt Reply with quote

Newbie

Joined: 05 Dec 2005
Posts: 4

Holas a todos; necesito poner un mensaje en una cola y sacarlo de otra cola, alguien ha realizado esto que me pueda ayudar?
_________________
Saludos
Andrea
Back to top
View user's profile Send private message MSN Messenger
JT
PostPosted: Mon Dec 05, 2005 12:47 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Todo que usted quiso saber acerca de escritura y consumir los mensajes se pueden encontrar en la Aplicación que Programa la Guía
Back to top
View user's profile Send private message
Andreahbl
PostPosted: Tue Dec 06, 2005 4:45 am    Post subject: Reply with quote

Newbie

Joined: 05 Dec 2005
Posts: 4

mi problema radica en que nose como leer los datos de una cola de salida por ejemplo debo colocar un mesaje en una cola x y enviarlo a una cola q y rescatar de ahi el mensaje, he logrado hacerlo de una misma cola.
_________________
Saludos
Andrea
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Tue Dec 06, 2005 4:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I do not speak Spanish, and I hope your reading English is better than your writing English.

I am guessing about your question, as Google did not translate it very well.

MQ Queues are FIFO - First In First Out - data structures. Messages are added to the end of the queue, and retrieved from the front.

It is not very possible to treat them as Last In First Out structures, to take messages from the front and put messages to the front.
_________________
I am *not* the model of the modern major general.


Last edited by jefflowrey on Tue Dec 06, 2005 5:11 am; edited 1 time in total
Back to top
View user's profile Send private message
jsware
PostPosted: Tue Dec 06, 2005 5:03 am    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

jefflowrey wrote:
It is not very possible to treat them as Last In First Out structures, to take messages from the front and put messages to the front.

That would make them stacks instead of queues

However, I thought you might be able to use the browse options to browse the last msg and then get the message under the cursor. Unfortunately there is no "MQGMO_BROWSE_LAST" get message option. You would have to browse through the whole queue to the end (which you could speed up by browsing with 0 data length and allowing msg truncation) and then get the last one.

Not a great solution I fear though.
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
jbustamante
PostPosted: Wed Dec 07, 2005 11:35 am    Post subject: Reply with quote

Novice

Joined: 06 Oct 2004
Posts: 11

No sé si entiendo tu pregunta...
Lo que quieres hacer es que el mensaje que pusiste en una cola, se vaya a otra cola (Dentro del mism QM), para luego rescatarlo de esa otra cola??
Si es eso, bueno, necesitas de un programa que saque los mensajes de la cola escritura y lo coloque en la cola que quieres leer.
Y otra opción puede ser tener 2 QM y colocar el mensaje en una cola de remota al otro QM.
Y por último tener un flujo de (del message broker, si es que lo tienes) que lea la cola de request y lo envíe a la cola que quieres leer.

Saludos!
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Wed Dec 07, 2005 11:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It seems that Google wants to translate the word you all are using for "queue" as "tail" (cola, I believe).

This is confusing.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Andreahbl
PostPosted: Wed Dec 07, 2005 11:55 am    Post subject: Reply with quote

Newbie

Joined: 05 Dec 2005
Posts: 4

eso es lo que necesito Jbustamante, mi problema radica en que nose como leer el mensaje de otro Buffer, por ejemplo si coloco el mensaje en la cola X como lo leo de la cola Y........


_________________
Saludos
Andrea
Back to top
View user's profile Send private message MSN Messenger
fjb_saper
PostPosted: Wed Dec 07, 2005 12:32 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

jefflowrey wrote:
It seems that Google wants to translate the word you all are using for "queue" as "tail" (cola, I believe).

This is confusing.

Jeff know your French/Latin roots. Queue and tail are the same. People waiting in queue == same pattern as an animal's tail ?

Enjoy
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Dec 07, 2005 12:34 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Andreahbl wrote:
eso es lo que necesito Jbustamante, mi problema radica en que nose como leer el mensaje de otro Buffer, por ejemplo si coloco el mensaje en la cola X como lo leo de la cola Y........


If I got you right: You put the message to Queue X and try to read if from Queue Y. Well X would be a remote queue for Y if X and Y are located on a different queue manager. And remember to read from queue Y you NEED to be connected to Y's qmgr (so that the queue is local to the queue manager).

If X and Y are located on the same qmgr they would be qaliases for the same base queue.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Andreahbl
PostPosted: Wed Dec 07, 2005 1:32 pm    Post subject: Reply with quote

Newbie

Joined: 05 Dec 2005
Posts: 4

I understand thank's
_________________
Saludos
Andrea
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Get and PUt
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.