Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I've read many many many thread about consuming messages from rabbitmq but nothing enough detailed that could help me...
My question is simple, how can i extract headers and payload from a message ?
I've read many things that helped me to build the route and the job but i don't know how to configure all the component.
My cMessagingEndpoint is OK but i don't know how to configure the cSetHeader, the cProcessor and the tExtractJsonFields.
You will find attached screenshots about my current work.
I really hope that one of you could help me go through this difficulty.
Thanks,
Guillaume.
To get the body and header from RabbitMQ message. you have to use cTalendJob(standard Talend job). I have attached the screenshot, in that way you can get the header and body of the massage. Add tRouteInput in standard job which help in getting in route message from rabbitmq. header you will get using "${in.header.<<headerKey>>}"
Please someone ? I really need help on that purpose ...
I'm going to search a lil' bit more but that seems compromise ...
To get the body and header from RabbitMQ message. you have to use cTalendJob(standard Talend job). I have attached the screenshot, in that way you can get the header and body of the massage. Add tRouteInput in standard job which help in getting in route message from rabbitmq. header you will get using "${in.header.<<headerKey>>}"
Wow, thanks a lot, that's working great !! I was so close but couldn't find out the last step to make it work...
Thanks again !
Guillaume