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 » Reading Binary Messages from Queue with C++ API for MQ

Post new topic  Reply to topic
 Reading Binary Messages from Queue with C++ API for MQ « View previous topic :: View next topic » 
Author Message
maja
PostPosted: Fri Jun 27, 2008 2:33 am    Post subject: Reading Binary Messages from Queue with C++ API for MQ Reply with quote

Apprentice

Joined: 13 Jun 2006
Posts: 30

Hi,

We have a requirement in which an application reads a clob column form database and writes to MQ Queue(this is .net application), my application has to read this message and use it, This reading application is C++ application. When I try to read teh message from the queue, I am not able to do the same. Please suggest as to how I should do the same.

Thanks,
Maja.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Jun 27, 2008 3:19 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

What is the CC (Completion Code) and RC (Reason Code) being passed back to the C++ application?
_________________
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
View user's profile Send private message
maja
PostPosted: Mon Jul 07, 2008 12:47 am    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2006
Posts: 30

I could read the message at last using the C++ api. The same message I am trying to put back, it will put the message , but the format would be completely different..... so teh same cannot be unzipped to retrieve teh original message.

Please advise.

Thanks,
Maja
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jul 07, 2008 1:06 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

I'm not sure I understand your question, but...

The application which is reading from the database must put the message in a format and structure the receiving application will understand.
_________________
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
View user's profile Send private message
maja
PostPosted: Mon Jul 07, 2008 1:18 am    Post subject: Reply with quote

Apprentice

Joined: 13 Jun 2006
Posts: 30

OK l;et me rephrase the question.

I have a BLOB column in database.
Application 1 reads database and writes to the Queue(binary message), using .net.
Application 2 has to retrieve this message form Queue(get ) and use it for some processing and put it back as binary to another queue.(this applkication is C++ application.
So the Application 2 is able to read from the queue a Binary message and process it. It then zips this message and tries to put it to queue. It is successful but the format is not retained, due to which the same message cannot be created form the binary data.

So actually having a problem to put a binary message to the queue using C++ api.

please advise.

Thanks,
Maja
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jul 07, 2008 1:49 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

And in which format is your application 2 putting the message?

When you state that the application 'zips' the message, precisely what do you mean?
_________________
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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Reading Binary Messages from Queue with C++ API for MQ
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.