Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend ESB & Rabbitmq : Explaining way to consume and parse messages

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.

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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>>}"

0683p000009M05C.png

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Please someone ? I really need help on that purpose ...

I'm going to search a lil' bit more but that seems compromise ...

Anonymous
Not applicable
Author

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>>}"

0683p000009M05C.png

Anonymous
Not applicable
Author

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 ! 0683p000009MACn.png

 

Guillaume