|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Custom Datahandler |
« View previous topic :: View next topic » |
Author |
Message
|
vsircill |
Posted: Wed Oct 11, 2006 8:17 pm Post subject: Custom Datahandler |
|
|
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 |
|
 |
vk |
Posted: Thu Oct 12, 2006 4:43 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|