|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ PCF structures (MQCFIN, MQCFST, ...) not serialized |
« View previous topic :: View next topic » |
Author |
Message
|
cwolfhagen |
Posted: Tue Apr 19, 2011 12:54 am Post subject: MQ PCF structures (MQCFIN, MQCFST, ...) not serialized |
|
|
 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 |
|
 |
mqjeff |
Posted: Tue Apr 19, 2011 2:18 am Post subject: |
|
|
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 |
|
 |
cwolfhagen |
Posted: Tue Apr 19, 2011 3:36 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Tue Apr 19, 2011 4:10 am Post subject: |
|
|
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 |
|
 |
cwolfhagen |
Posted: Tue Apr 19, 2011 4:33 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Tue Apr 19, 2011 4:41 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|