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 » IBM MQ Java / JMS » MQ PCF structures (MQCFIN, MQCFST, ...) not serialized

Post new topic  Reply to topic
 MQ PCF structures (MQCFIN, MQCFST, ...) not serialized « View previous topic :: View next topic » 
Author Message
cwolfhagen
PostPosted: Tue Apr 19, 2011 12:54 am    Post subject: MQ PCF structures (MQCFIN, MQCFST, ...) not serialized Reply with quote

Newbie

Joined: 16 Nov 2004
Posts: 8
Location: Nødebo, Denmark

In the MS0B supportpack all the pcf structures were serialized. In the java classes included in MQ7, they are not.
Has anybody but me run into this problem (that for example means that you cannot transport object data from one java entity to another via the network)?
Should IBM change this?

Oppinions welcome.

Christian
_________________
Christian Wolfhagen
Senior Consultant

Cressida Technology Ltd.
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Tue Apr 19, 2011 2:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It seems a bit odd to want to transport Java representations of MQ PCF Messages, when you can just send the MQ PCF message itself (already a serialized object form).

So if nothing else, you should be able to get the bytes of the PCF message and exchange that between JVMs as a serialized bytestring.
Back to top
View user's profile Send private message
cwolfhagen
PostPosted: Tue Apr 19, 2011 3:36 am    Post subject: Reply with quote

Newbie

Joined: 16 Nov 2004
Posts: 8
Location: Nødebo, Denmark

If you want to use the output of a query to do a create, it's rather simpler to just grap the parameters from the query reply and ship those.

Christian
_________________
Christian Wolfhagen
Senior Consultant

Cressida Technology Ltd.
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Tue Apr 19, 2011 4:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I agree.

I don't see a significant impedence to that in passing the bytestream rather than an instantiated PCFMessage object?

I also don't understand the motivation for running a query in one JVM and the create in a second, particularly since both ends still need an MQ connection...

And, again, you could pass the data over MQ instead of through IPC.
Back to top
View user's profile Send private message
cwolfhagen
PostPosted: Tue Apr 19, 2011 4:33 am    Post subject: Reply with quote

Newbie

Joined: 16 Nov 2004
Posts: 8
Location: Nødebo, Denmark

I agree that passsing the parameters can be done differently including using MQ connections, but once you have coded it one way, you have to redo you coding (or include the old jar in your classpath).
I regard this a matter of the MQ7 pcf classes not being backwards compatible.
_________________
Christian Wolfhagen
Senior Consultant

Cressida Technology Ltd.
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Tue Apr 19, 2011 4:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I agree.

I still think you've chosen an odd way to do it.

If you want a fix, however, you'll have to raise a PMR.
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 » IBM MQ Java / JMS » MQ PCF structures (MQCFIN, MQCFST, ...) not serialized
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.