| Author |
Generic splitter for xml messages
|
|
| Niklas E 2005-03-03, 2:51 am |
| Are there any generice splitter adapters or custom pipelines? Or anyone who
has done this. Our files are getting too large for the other receiving
systems to handle when we send them and I want to split them into e.g. 1000
xml-nodes per file under the root node. Anyone who has done that or know of
some adapter/custom pipeline available before we write our own?
Best regards
Niklas Engfelt
| |
| Stephen W. Thomas 2005-03-04, 2:47 am |
| Hello.
I think this can be done with some custom XSLT inside the map. One solution
I saw (by Jeff Lynch) created an outside wrapper over all the nodes then the
groups inside that. It looked like this:
<Nodes>
<Node>
<1 to 1000>
<Node>
<1 to 1000>
Once it was mapped like this, the Node with 1000 messages each can be
debatched in the Orchestration or through messaging (Debatching Info -
http://geekswithblogs.net/sthomas/a...2/12/17373.aspx). It is kind
of a lot of work for something that I think should just be a setting inside
the envelopeā¦
You might want to keep an eye on Jeff Lynch's Blog
(http://codebetter.com/blogs/jeff.lynch/) for more information.
Hope this helps.
Stephen W. Thomas
http://www.geekswithblogs.net/sthomas
"Niklas E" wrote:
> Are there any generice splitter adapters or custom pipelines? Or anyone who
> has done this. Our files are getting too large for the other receiving
> systems to handle when we send them and I want to split them into e.g. 1000
> xml-nodes per file under the root node. Anyone who has done that or know of
> some adapter/custom pipeline available before we write our own?
>
> Best regards
> Niklas Engfelt
>
>
>
| |
| Stephen W. Thomas 2005-03-04, 2:47 am |
| Hello.
Sorry, I should add that this can probably be done inside a custom pipeline
component as well. I do not know which one would perform better...but I see
a general trend to avoid work like this inside the pipelines.
Stephen W. Thomas
http://www.geekswithblogs.net/sthomas
"Niklas E" wrote:
> Are there any generice splitter adapters or custom pipelines? Or anyone who
> has done this. Our files are getting too large for the other receiving
> systems to handle when we send them and I want to split them into e.g. 1000
> xml-nodes per file under the root node. Anyone who has done that or know of
> some adapter/custom pipeline available before we write our own?
>
> Best regards
> Niklas Engfelt
>
>
>
|
|
|
|