|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Questions on Data conversion and Connection Pool |
« View previous topic :: View next topic » |
Author |
Message
|
mitul |
Posted: Thu Nov 18, 2004 12:17 am Post subject: Questions on Data conversion and Connection Pool |
|
|
Apprentice
Joined: 13 Jun 2002 Posts: 33
|
1. What is Data Conversion?
2. When is it required to Convert data?
e.g if i have a client in java talking with a legacy system on mainframes via MQSeries and if i send a message the message data contains a xml file is there any data conversion required?
If yes then what type of data conversion?
I think that its not required at all.
3. How Can I implement a Connection Pool?
Thanks in advance.
Regards,
Mitul |
|
Back to top |
|
 |
EddieA |
Posted: Thu Nov 18, 2004 9:46 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
1) Conversion of data from one CCSID and Encoding to another. ASCII to EBCDIC. Big Endian to Little Endian. etc.
2) Conversion is probably required. When creating the message, ensure all data is character (which it should be for XML). Set the Format to MQSTR. The receiving application should go a GET with Convert. Done.
3) I'll leave that to the Java guys.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 18, 2004 5:16 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
3) Look at the way you start MQ in base java i.e. read the manual Using java. If my memory searves me well it should have an exemple or directions on how to do it.
If you are talking about JMS, implementing the pool is a function of the WAS.
Just specify your JMS/JNDI setup and tell it to use the pool (default)
Enjoy  |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Nov 18, 2004 8:43 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
mitul,
Take a look at Appendix F of the Application Programming Referance Manual. It is all about data conversion in MQ. _________________ Peter Potkay
Keep Calm and MQ On |
|
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
|
|
|
|