﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Programming / Service Broker  / not able to see messages in the queue / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 08:13:45 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: not able to see messages in the queue</title><link>http://www.sqlservercentral.com/Forums/Topic1048828-1281-1.aspx</link><description>If the message fails to be sent to the receiving service, you'll find it in sys.transmission_queue along with a error describing why it couldn't be sent.</description><pubDate>Sun, 23 Jan 2011 09:23:00 GMT</pubDate><dc:creator>Nils Gustav Stråbø</dc:creator></item><item><title>not able to see messages in the queue</title><link>http://www.sqlservercentral.com/Forums/Topic1048828-1281-1.aspx</link><description>Hi guys,I created a queue as in the query below....but I am not able to see the messages in the queue...CREATE MESSAGE TYPE MyMessageVALIDATION = WELL_FORMED_XML;CREATE CONTRACT MyContract(MyMessage SENT BY ANY );CREATE QUEUE MySendingQueueWITHSTATUS=ON,RETENTION=OFF;CREATE QUEUE MyReceivingQueueWITHSTATUS=ON,RETENTION=OFF;CREATE SERVICE MySendingServiceON QUEUE MySendingQueue(MyContract);CREATE SERVICE MyReceivingServiceON QUEUE MyReceivingQueue(MyContract);DECLARE @handle uniqueidentifierBEGIN DIALOG CONVERSATION @handleFROM SERVICE MySendingServiceTO SERVICE 'MyReceivingService'ON CONTRACT MyContract;SEND ON CONVERSATION @handleMESSAGE TYPE MyMessage('&amp;lt;message&amp;gt;hello world&amp;lt;/message&amp;gt;')END CONVERSATION @handle SELECT * FROM dbo.MySendingQueue</description><pubDate>Mon, 17 Jan 2011 09:37:13 GMT</pubDate><dc:creator>SatishAyyar</dc:creator></item></channel></rss>