[jboss-dev-forums] [JBoss ESB Development] - Re: Check if header element exists in message Response.

Carlos O do-not-reply at jboss.com
Fri Nov 19 12:13:50 EST 2010


Carlos O [http://community.jboss.org/people/charlyjboss] created the discussion

"Re: Check if header element exists in message Response."

To view the discussion, visit: http://community.jboss.org/message/572020#572020

--------------------------------------------------------------
Thanks Tom, i'm trying to use your solution, but that code works for an element inside the header right? In my case, the whole header may not be present (<header>...<header>) at all, for example, could be like this:

<Envelope>
   <Body>
   ...
   </Body>
</Envelope>

So, the result message after the transformation is:

<Envelope>
   <Body>
   ...
    </Body>
   <Header>
   ...
   </Header>
</Envelope>

Because the "add" directive locates the element at the end of the selector (Envelope in this case)
Is it possible to modify a little bit your solution to make it works for my particular scenario?

Thank you very much.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/572020#572020]

Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101119/5b1f1717/attachment.html 


More information about the jboss-dev-forums mailing list