Cody Geisler
Cody Geisler

Reputation: 8617

JT400 send a message to a queue (I.e. SNDMSG)

Is this the only option when using jt400 to send a message to a queue?

sys = AS400("~")
cmd = CommandCall(sys)
cmd.run("SNDMSG 'My Message'")

The MessageQueue api does not appear to have any sort of send or write method.

CommandCall

MessageQueue

Upvotes: 0

Views: 302

Answers (1)

Charles
Charles

Reputation: 23793

Take look at the sendXXX() methods of MessageQueue in the documentation you provided a link to...

sendXxxx() methods

Upvotes: 3

Related Questions