ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to insert blob data in JSON message (IIBv10)

Post new topic  Reply to topic
 How to insert blob data in JSON message (IIBv10) « View previous topic :: View next topic » 
Author Message
sri_17
PostPosted: Fri Feb 15, 2019 4:01 am    Post subject: How to insert blob data in JSON message (IIBv10) Reply with quote

Guest




Hi,
I am trying to a read a file using fileread node and then forming a JSON with file data as BLOB, this works fine when the file size is below 10KB but the output data is being deleted when file size is above 10KB.

IIBvesrion : IIBv10.0.0.10

Here is my piece of code :
SET OutputRoot.Properties.ContentType = 'application/json';
SET OutputRoot.JSON.Data.fileData = InputRoot.BLOB.BLOB;

Output for below 10KB file : {"fileData":"4e0d0a4441547c2d544153554b327c3230322d3930383330327c55343333387c303032367c50527c5448495320495320544845204445534352495054494f4e205448495320495320544845204445534352495054494f4e20434f4e54494e5545447c7c4255597c436f6e666967757265647c45204f20462b20542b20586e7c7c307c3"}

Output for above 10KB file : {"fileData":"{"fileData":""}

Not sure If I am missing any configuration here, Appreciated any help in this regard ?
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to insert blob data in JSON message (IIBv10)
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.