Send Messages

<p class="shortdesc">This article describes how to send messages in the console.</p> <section class="section prereq" id="send_message__prereq_kmw_kbx_cmb"><div class="tasklabel"><h2 class="doc-tairway">Before you begin</h2></div> <p class="p">You have successfully created a topic. For more information, see <a class="xref" href="https://pinganyun.com/ssr/help/middleware/pamq/quickstart.found_topic" target="_blank">Create a Topic</a>.</p> </section> <section class="section context"><div class="tasklabel"><h2 class="doc-tairway">About this task</h2></div> <p class="p">Send messages to the topic in the console, the result is the same as the message sent by the producer client. It can be used to reissue messages or quickly verify the availability of topic resources.</p> </section> <section><div class="tasklabel"><h2 class="doc-tairway">Procedure</h2></div><ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">Log in to the <a class="xref" href="https://pinganyun.com/console/mq/topic/list" target="_blank">MQ Console</a>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">In the left navigation pane, click <span class="ph menucascade"><span class="ph uicontrol">Publish/Subscribe</span><abbr title="and then"> > </abbr><span class="ph uicontrol">Publish Manage</span></span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">On the <span class="keyword wintitle">Publish Management</span> page, select the target region.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Send</span> in the <span class="ph uicontrol">Operation</span> column of the target producer.</span> </li><li class="li step stepexpand"> <span class="ph cmd">On the <span class="keyword wintitle">Send Message</span> page, enter <span class="ph uicontrol">Key</span>, <span class="ph uicontrol">Tag</span>, and <span class="ph uicontrol">Message Body</span>.</span> <div class="itemgroup info"> <table class="table" id="send_message__table_mkg_1qx_dmb"><caption></caption><colgroup><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="send_message__table_mkg_1qx_dmb__entry__1">Parameter</th> <th class="entry" id="send_message__table_mkg_1qx_dmb__entry__2">Description</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="send_message__table_mkg_1qx_dmb__entry__1 "> <p class="p">Key</p> </td> <td class="entry" headers="send_message__table_mkg_1qx_dmb__entry__2 "> <p class="p">Enter the key words of messages. Key words can be used for message query. We recommend that you set the exclusive key words that are associated with business attributes.</p> </td> </tr> <tr class="row"> <td class="entry" headers="send_message__table_mkg_1qx_dmb__entry__1 "> <p class="p">Tag</p> </td> <td class="entry" headers="send_message__table_mkg_1qx_dmb__entry__2 "> <p class="p">Enter the message tag. The message tag can be used to further label the messages classified under a topic.</p> </td> </tr> <tr class="row"> <td class="entry" headers="send_message__table_mkg_1qx_dmb__entry__1 "> <p class="p">Message body</p> </td> <td class="entry" headers="send_message__table_mkg_1qx_dmb__entry__2 "> <p class="p">Enter the message body.</p> </td> </tr> </tbody></table> </div> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Confirm</span>.</span> </li></ol></section> <section class="section result" id="send_message__result_mq4_dqx_dmb"><div class="tasklabel"><h2 class="doc-tairway">Results</h2></div> <div class="p">After the message is sent successfully, the system will automatically generate a message ID. On the <span class="keyword wintitle">Send Message Success</span> page, click <span class="ph uicontrol">Detail</span> to view the basic information and consumption status of the message.<img class="image" id="send_message__image_g1r_gqx_dmb" src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20202209170658-1b4e6f989999.png"></div> </section>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products