Invalid Output from Camel XSLT Component

Solution Verified - Updated -

Issue

  • Facing an issue when using Camel XSLT component where the output is not as per expectation.
  • When the xslt is applied, it is supposed to extract data b/w two nodes as output but in response element name are empty.
  • Output Received
<>
  <>test-123-demo</> 
  <>test</> 
  <>test</> 
  <>test</> 
  <>test</> 
  </>
 <>
  • Output Expected
<Header>
  <MessageId>test-123-demo</MessageId> 
  <SourceEndpointUser>test</SourceEndpointUser> 
  <SourceEndpoint>test</SourceEndpoint> 
  <DestinationEndpoint>test</DestinationEndpoint> 
  <Action>test</Action> 
  </Header>
 <Body>

Environment

  • Red Hat JBoss Fuse
    • 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.