OSB encodes the received jms binary data always in UTF-8 (Doc ID 2257050.1)

Last updated on JUNE 07, 2017

Applies to:

Oracle Service Bus - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

When reading a ISO-8859-1 format binary jms data from weblogic queue by using OSB JMS transport,
the received data became UTF-8 format automatically.

forexample:

if message in jms queue was like below

00 30 00 25 00 00 00 3C 02 25 25 25 80 00 00 00

when using osb to receive the message above , it will become

00 30 00 25 00 00 00 3C 02 25 25 25 C2 80 00 00 00

the problem is the "C2" before 80

this problem will not happend when using pure java receive like below

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms