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 Interchange Server + Adapters » Custom Datahandler

Post new topic  Reply to topic
 Custom Datahandler « View previous topic :: View next topic » 
Author Message
vsircill
PostPosted: Wed Oct 11, 2006 8:17 pm    Post subject: Custom Datahandler Reply with quote

Novice

Joined: 05 Oct 2006
Posts: 10

Hi All,

I have an issue with regard to writing to a file using JText Adapter. My ASBO structure is as below

PL_ITEM_WRAPPER
UID String
PL_ITEM Child Item Object
Part Number String
Price String
Price Code String

Now, I only want Part Number, Price, Price Code to be written to the file.
Do I need to write customer data handler to achieve this or out-of the box Fixed Width Data handler will do. ( I tried with Fixedwidth, it did not write the way I wanted)

If I need to code my own handler, please guide me as to how to start custom data handler.

It would be great if anyone helps in this regard.

I am new to WebSphere ICS. Please help!!!


Thanks in Advance!!!
Back to top
View user's profile Send private message
vk
PostPosted: Thu Oct 12, 2006 4:43 am    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

Use of wrapper business objects is deprecated in JText adapter 5.6.0. You can try out the following options -

1. Instead of having PL_ITEM as a child BO, write PL_ITEMs one by one to the file. Send a message having only one PL_ITEM and keep on appending them to the same file.

2. You can use the BLOB data handler support pack available in the IBM website to write the data as such to the output file. So you dont have to create the wrapper and child BOs.

I have used both the options with WMQI 2.1\WMB v6.0 broker for writing to files. I am not sure about WICS.

Regards,
VK.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Custom Datahandler
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.