Author |
Message
|
torr_chula |
Posted: Tue Jun 05, 2007 4:09 am Post subject: Can WBI Adapter Framework process segmented message? |
|
|
Novice
Joined: 07 Nov 2006 Posts: 12
|
We've developed our own text file adapter using WBI Adapter Framework 2.6.0.X. When the broker (using Message Broker) sends a request as MQ message to the adapter, this adapter will create a file.
The problem is the request sent from the broker may exceed the maximum message length that MQ can handle (100 MB). So, we have to allow segmentation (set in the MQOutput node). However, we don't know how to configure the adapter framework to work with segmented messages.
Anyone who know how to work with segments message in Adapter Framework, please suggest us. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jun 05, 2007 4:38 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You're really having a lot of fun reinventing the wheel, aren't you?
Maybe you should look at the Broker File Extender solution. Or PM4Data. Or the JText/Flat File adapter. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
torr_chula |
Posted: Tue Jun 05, 2007 5:40 am Post subject: |
|
|
Novice
Joined: 07 Nov 2006 Posts: 12
|
jefflowrey wrote: |
You're really having a lot of fun reinventing the wheel, aren't you?
Maybe you should look at the Broker File Extender solution. Or PM4Data. Or the JText/Flat File adapter. |
We have no choice. Our customer would like us to implement a custom text file adapter to support all of their requirements such as detailed audit trails, complicate archiving/error handling logics, etc. 
Last edited by torr_chula on Tue Jun 05, 2007 5:58 am; edited 2 times in total |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 05, 2007 5:42 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
torr_chula wrote: |
We have no choice. Our customer would like us to implement a custom text adapter to support all of their requirements such as detailed audit trails, etc.  |
All of which is available from PM4Data for certain, and I'd warrant from the other solutions as well.
On the plus side PM4Data only took a couple of years to develop...  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
torr_chula |
Posted: Tue Jun 05, 2007 5:51 am Post subject: |
|
|
Novice
Joined: 07 Nov 2006 Posts: 12
|
Vitor wrote: |
All of which is available from PM4Data for certain, and I'd warrant from the other solutions as well.
On the plus side PM4Data only took a couple of years to develop...  |
Thank your for your recommendation. However, it's too late now. Our customer hires us to develop all what they need !! (we've proposed the JText adapter, but they need more features) Currently, we're using our custom adapter on the production system, and there is only one major issue left and it's how to deal with >100 MB messages.
I'm wondering that the adapter framework support segmentation or not. If not, I will let the WMB split message into smaller ones and let the adapter append file. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 05, 2007 6:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
torr_chula wrote: |
Thank your for your recommendation. However, it's too late now. Our customer hires us to develop all what they need !! |
It's a tricky position, trying to explain to a customer the difference between what they want and what they need. So many fail to see it. Still, the customer is always right. Even if the customer is a raving lunatic who shouldn't be allowed out without a keeper.
(I might be projecting my own experiences here. Apologies to any customers reading this, except those I've worked for )
torr_chula wrote: |
I'm wondering that the adapter framework support segmentation or not. If not, I will let the WMB split message into smaller ones and let the adapter append file. |
AFAIK the framework doesn't support segmentation but I'm prepared to accept correction on that.
My best wishes to your customer supporting his shiny custom solution.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
torr_chula |
Posted: Wed Jun 06, 2007 2:53 am Post subject: |
|
|
Novice
Joined: 07 Nov 2006 Posts: 12
|
Vitor wrote: |
AFAIK the framework doesn't support segmentation but I'm prepared to accept correction on that.
My best wishes to your customer supporting his shiny custom solution.  |
Thank you very much. I should try my alternative solution (break down message and let the adapter append them).  |
|
Back to top |
|
 |
|