WL 5.0.5.1 が Websphere Liberty Profile 8.5 の次のベータ版にインストールされており、JMS アダプターが正常に動作しています。カスタム プロパティを含むテキスト メッセージを送信できます。優先度などの他の属性を変更できません。ドキュメンテーションは非常に不可解であり、逆コンパイルは私にとって最後の手段です。相関ID、優先度、およびその他のメッセージフィールドを変更する方法の例をいただければ幸いです。
WL.Server.writeJMSMessage({
destination: "myQueue",
properties: {
MY_PROPERTY: "123", // becomes custom property
priority: 9, // becomes custom property JMSPriority is unchanged
JMSPriority: 9, // ignored, neither changes JMSPriority nor becomes custom property
},
priority: 9, // ignored as docs do not allow params here
JMSPriority: 9, // ignored
});