Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I wanted to send JMS Topic with body in Jason format and some headers associated with it.
I say tJMSOutput component but i do not see header anywhere.
Any help is greatly appreciated!
Thanks in advance
Hi
standard component tJMSOutput - do not contain header section, but you could check
tMOMOutput, if your MQ one from list - you will have headers in Advanced settings
@harsh_kothari wrote:
Thanks but do you have any sample values for those headers?
for e.g. i wanted to give sysdate to the header Timestamp. what value should i give it there?
maybe getdate? 😉
IT worked! Thank you!!
I am getting error in JMSDestination as i am giving value as "com.scor.b2b.int.helios.in"
Can anyone please help me with this or provide me with a sample value?
Line 4819: javax.jms.Destination desJMS_tMomOutput_1=com.scor.b2b.int.helios.in;
Error:
Execution failed : Job compile errors
At least job "Load_Bordereau" has a compile errors, please fix and export again.
Error Line: 4819
Detail Message: Syntax error on token "int", class expected
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
it need to read about JMS - possible it expect timestamp as linux Long/Integer (looking for error message it's true)
in this case just need to use different function
try - TalendDate.getCurrentDate().getTime()