camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaishankar <jayashankar....@wipro.com>
Subject Bindy problem in reading the file
Date Fri, 18 Jul 2014 06:22:29 GMT
This is the sample code I've written.
Please help me is solving this problem. 
Trying hard by using all the options in bindy but failed to execute it.

*Input *
000001633569|117 Luddenham Rd Luddenham              |"Glenholme Farm"                   
   
|DS04646MDIM-01                |HS|IS|     |MDI         |OP_ID   |SW118126               
     
|

*Output I'm getting *
employeeId=000001633569, firstName=117 Luddenham Rd Luddenham,
*lastName*=Glenholme Farm"                        \|DS04646MDIM-01               
\|HS\|IS\|     \|MDI         \|OP_ID   \|SW118126                      \|,
role1=null, employeeId2=null, firstName3=null, lastName4=null, role2=null,
firstName2=null, lastName3=null, role4=null]

After lastName it is considering as one input.

*but I need output as *
employeeId=000001633569, firstName=117 Luddenham Rd Luddenham              ,
lastName=Glenholme Farm , role1=DS04646MDIM-01, employeeId2=HS,
firstName3=IS, lastName4=     , role2=MDI         , firstName2=OP_ID   ,
lastName3=SW118126                      , role4=null]


I'm looking forward for your answer.



--
View this message in context: http://camel.465427.n5.nabble.com/Bindy-problem-in-reading-the-file-tp5753989.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message