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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

publishing RESt web service on ActiveMQ

hi dear talend developers
how can i publish my webservice on activemq and make it possible consume by other users on my local network i mean the others can see the queue and consume it !
okey im going explain my work.
so i realize a webservice in order to move the data from my database and show it in xml file so i can publish my webservice on local network and share it with other users its okey but i want to make a queue message with activemq and anyone can consume it on my local network !
and another question : how can i create a queue message with my webservice data and post it in activemq there are many composants like tjmsoutput and tmomoutput
thank u

0683p000009M1qu.png0683p000009M1dr.png0683p000009M1qz.png0683p000009M1r4.png0683p000009M1r9.png

Labels (2)
5 Replies
vapukov
Master II
Master II

Hi

 

you are close to the proper solution:

 

tMomOutput have mandatory schema element with name message and type string

so, you need:

- convert body from tRESTClient into type string (it still will be XML structure, but as string) - use tConvertType

- map this body into output column message - use tMap

 

Anonymous
Not applicable
Author

thank you it works ..can i ask you if i send queue and someone consume it
can can it make a change ( in my exemple i use a database as source of data
) how it possible to invoke a insert of data or update it with queue and
activemq and web service ??
Anonymous
Not applicable
Author

hank you it works ..can i ask you if i send queue and someone consume it can can it make a change ( in my exemple i use a database as source of data ) how it possible to invoke a insert of data or update it with queue and activemq and web service ??
vapukov
Master II
Master II

It’s not very clean - what do you mean?
Anonymous
Not applicable
Author

okey im going to describe the scenario:

so on my local network i can create a queue with data from database table

its is possible that if someone consume my job (contains the data ) can dequeue  the job into his database table ( same table and same rows : we build for first same table with rows ) ?