|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CCSID / Encoding |
« View previous topic :: View next topic » |
Author |
Message
|
bamboozled_by_MQ |
Posted: Tue Dec 14, 2004 9:09 am Post subject: CCSID / Encoding |
|
|
Voyager
Joined: 07 Jan 2004 Posts: 75
|
if I was placing a message from a linux or windows server running WAS 5.1 to an OS400 system, as bytes, (ascii 2 ebc) do I need to set these fields for can I just write the bytes to the bytesmessage (target queue is MQ) and send it by dropping it in the remote queue?
Note:don't have the option of setting to MQSTR. must be MQFMT_NONE |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 14, 2004 12:04 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What do you mean, you don't have the option of using MQSTR ?
Can you be more specific ? |
|
Back to top |
|
 |
bamboozled_by_MQ |
Posted: Tue Dec 14, 2004 1:20 pm Post subject: |
|
|
Voyager
Joined: 07 Jan 2004 Posts: 75
|
there is some binary data, so I have to send it as a bytesmessage with MQFMT_NONE |
|
Back to top |
|
 |
slaupster |
Posted: Wed Dec 15, 2004 2:40 am Post subject: |
|
|
Apprentice
Joined: 17 Nov 2004 Posts: 41
|
Java generally does not have to worry about encoding or character set issues because writing the bytes in the first place using java api (and Java/JMS MQ API) will have default representations, ie big endian encoding and UTF8 character set, unless you tinker with them. So when you pull the bytes out of the message and read some and create a String/int etc., the platforms native encoding and character set doesn't come into play because java has its own and doesn't care.
Only if one of the apps is not Java does it matter, but since you are using a bytesmessage it doesn't sound like that is the case. |
|
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
|
|
|
|