One Star

tJMSOutput, Howto set jms property

Hi,
I need to send a message via tJMSOutput.
The message has to contain, apart from the payload, a message property.
Here is a plain java snippet of what i would like to achieve:
Message msg = session.createTextMessage(message);
msg.setStringProperty("id", id);

producer.send(msg);

Is this possible with the component out of the box?
Thanks in advance
kent
2 REPLIES
One Star

Re: tJMSOutput, Howto set jms property

Ok.
After analyzing the tJMSOutput component, I found out that this option is not provided.
So I added this functionality to the component itself.
Works!
Cheers,
kent
One Star

Re: tJMSOutput, Howto set jms property

Can you add the new component to Talend Exchange so we can share it.