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&...]