By default, Oracle MQ Series Adapter supports a list of encodings. It displays a list of MQ Series message encodings and Java encoding, and also the mapping between the MQ Series message encoding and Java encoding. The list of supported encodings for Oracle MQ Series Adapter follows..
Following is a list of encodings.
ibm037
ibm437
ibm500
ibm819
Unicode
UTF8
ibm273
ibm277
ibm278
ibm280
ibm284
ibm285
ibm297
ibm420
ibm424
ibm737
ibm775
ibm813
ibm838
ibm850
ibm852
ibm855
ibm856
ibm857
ibm860
ibm861
ibm862
ibm863
ibm864
ibm866
ibm868
ibm869
ibm870
ibm871
ibm874
ibm875
ibm912
ibm913
ibm914
ibm915
ibm916
ibm918
ibm920
ibm921
ibm922
ibm930
SJIS
ibm933
ibm935
ibm937
ibm939
ibm942
ibm948
ibm949
ibm950
EUCJIS
ibm964
ibm970
ibm1006
ibm1025
ibm1026
ibm1089
ibm1097
ibm1098
ibm1112
ibm1122
ibm1123
ibm1124
Cp1250
Cp1251
Cp1252
Cp1253
Cp1254
Cp1255
Cp1256
Cp1257
Cp1258
ibm1381
ibm1383
JIS
KSC5601
ibm33722813
GB18030
.
You can add support for the other standard Java encodings that are not provided in this list, as follows:
Extract the MQSeriesAdapter.jar
file from the MQSeriesAdapter.rar
file.
Extract the mq.properties
file from the MQSeriesAdapter.jar
file.
Add the entry in the mq.properties
file. For each new encoding, you must add two lines (properties) to the mq.properties
file. One line for the MQ Series encoding to the corresponding Java encoding and other line for the Java encoding to the corresponding MQ Series encoding.
For example, to add support for the following ibm037
Java encoding:ibm037 (Java encoding)<->37 (MQ Series message encoding), you must add the following two lines to the mq.properties
file:
oracle.tip.adapter.mq.encoding.37=ibm037
oracle.tip.adapter.mq.encoding.ibm037=37