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

Six Stars

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.


Accepted Solutions
Seven Stars

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

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

screenshot.PNG


All Replies
Highlighted
Six Stars

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

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

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

Tags (3)
Seven Stars

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

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

screenshot.PNG

Six Stars

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

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 ! Smiley Happy

 

Guillaume

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read