Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
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 ) ?