Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Camel

$
0
0
Hi,

How can split the below text in camel so that i can fetch the value.

<xs:element name="TABLES">
<xs:complexType>
<xs:sequence>
<xs:element name="BD_COMPANIES_T:BD_COMPANIES" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>

And i am trying like this

.setHeader("table1", simple("${body[1]}:${body[2]")) but its not fetching
element name.

I am expecting "table1" should have BD_COMPANIES_T and "table2" should have
BD_COMPANIES.

Please advice.

Viewing all articles
Browse latest Browse all 5648

Trending Articles