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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tJMSOutput Error: message cannot be resolved or is not a field

I'm trying to insert an XML document into Apache Active MQ queue.

 

1. Using tXMLMap to create a XML document.

2. Using tConvertType to convert the XML document to string.

3. Using tJMSOutput to send the message to Active MQ.

 

But I'm getting compiler error at tJMSOutput component.

 Please find screenshots for the reference

 

0683p000009LycA.jpg0683p000009LyGy.jpg0683p000009LyPl.jpg0683p000009LycF.jpg

 

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Solved, Used the tMap to map the convert type output and tJMSInput.

View solution in original post

5 Replies
Anonymous
Not applicable
Author

Solved, Used the tMap to map the convert type output and tJMSInput.

Anonymous
Not applicable
Author

Hey Middlewareguy, I've been getting the same error as you and have been trying to understand your solution. Could you let me know more specifically how you used the tMap component? 

 

I tried it in between the tXMLMap and tConvertType, and then tried between tConvertType and tMSOutput but still getting the same error. Any help is greatly appreciated!

Anonymous
Not applicable
Author

I used the tMap between tConvertType and tJMSOutput

I mapped the field of tConvertType directly to tJMSOutput in map editor of tMap.

tJMSOutput takes the "string" type only inout while tXMLMap throws a "document" type output.

 

So using tConvertType, convert the "document" type to "String" type then using tMap, map the "string" type field directly to the "string" type to the tJMSOutput.

 

0683p000009M0Eu.jpg

 

Also try syncing the schemas.

Anonymous
Not applicable
Author

Thanks Middlewareguy I appreciate your response, not expecting you to jump down the rabbit hole with me but wanted to reply

 

I still seem to be having the same error after adding the tmap, activemq appears to be running fine but still seeing the log not being resolved. Does this look right?

0683p000009M0Aj.png0683p000009Lzzd.png0683p000009M0FA.png

Anonymous
Not applicable
Author

Is there a restriction that you'll have to use tJMSOutput only?

 

Because tMOMOutput can do the same job perfectly without the error.

 

Reason of error might be that tJMSOuput take input as an "object" and you're to feed it a string.

 

So use tMOMOutput as it take "string type" input and doesn't throw and error.