Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm trying to create a a sample job which adds a new message to Apache Active MQ server.
1. Using tInputFile to take read a string from file.
2. using tJMSoutput to send a message to MQ server.
I'm getting the compiling error from tJMSOutput component.
You have input fileContent, output message
tMomOutput not understand this, You could:
generally all work, error mean - You make some mistakes in components configuration
what error? it is not possible to guess, unless You hide information
I'm creating this simple job to read a file as 'string' and send that file content to Apache Active MQ server from tJMSOutput component.
Please find attachment for more information, Please let me know if there is any info requirement. Please help me solving the issue. I'm new to Talend ESB
Job Overview
tInputFile properties
tInputFile schema
tJMSOutput properties
tJMSOutput schema
Error message
Error showing in code
Error showing in code
I have also tried it with jMOMOutput component but I'm getting the same error "Message cannot be resolved or not a field"
You use wrong type conversion
You are try to convert object to String
tFileInputRaw - read whole context of file as row, if You want process row by row - use tFileInputDelimitter
with 1 column - message and delimiter | or what not present in Your file
if 1 file 1 message - use tConvertType for convert Object to String
it work
Hello Sir,
I've tried this way also. But it's not working. It's giving the same error "message cannot be resolved or is not a field"
I've also tried it with tInputDelimited component.
Job and tFileInputRaw properties
tConvertType properties
tConverType Schema
tMOMOutput properties
tMomOutput Schema
textSample.txt (Input File)
You have input fileContent, output message
tMomOutput not understand this, You could:
You sir, are awesome. tMap worked. Thanks a lot for bearing me.
Mapping
tMap
Queue Created