<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=469074219-17092009><FONT face=Arial
color=#0000ff size=2>No, I've been using string.empty as exchange all
along</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=469074219-17092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=469074219-17092009><FONT face=Arial
color=#0000ff size=2>will check it out</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=469074219-17092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=469074219-17092009><FONT face=Arial
color=#0000ff size=2>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=469074219-17092009><FONT face=Arial
color=#0000ff size=2>Deepak</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=469074219-17092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><!--eMS5.0.5.D9M.9Y.2009-->
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Paul Jones [mailto:pauljones23@gmail.com]
<BR><B>Sent:</B> Thursday, September 17, 2009 3:42 PM<BR><B>To:</B> Kumar,
Deepak, GBM<BR><B>Cc:</B> rabbitmq-discuss@lists.rabbitmq.com<BR><B>Subject:</B>
Re: [rabbitmq-discuss] Issue with .Net client Subscription<BR></FONT><BR></DIV>
<DIV></DIV>Hi Deepak,<BR><BR>Did you create a topic exchange? Wildcard routing
keys in the form you're using require a topic exchange.<BR><BR>Paul.<BR><BR>
<DIV class=gmail_quote>On Thu, Sep 17, 2009 at 8:36 PM, <SPAN dir=ltr><<A
href="mailto:Deepak.Kumar1@rbs.com">Deepak.Kumar1@rbs.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hello<BR><BR>Has
anyone faced issues not getting messages when using catch-all subscription
using the .Net Client library ?<BR><BR>The publishing code is below
-<BR><BR>IConnection conn1 = new ConnectionFactory().CreateConnection(
"localhost:5672");<BR>chSendUpdate =
conn1.CreateModel();<BR><BR>...<BR><BR>chSendUpdate.BasicPublish(string.Empty,
"STOCK.PRICES." + CUSIP, null,
Encoding.UTF8.GetBytes(bodyText));<BR><BR><BR>The subscription code
is<BR>using (IConnection conn = new
ConnectionFactory().CreateConnection("localhost:5672")){<BR> using
(IModel ch = conn.CreateModel()) {<BR>
Subscription sub = new Subscription(ch, "STOCK.PRICES.#");<BR>
foreach (BasicDeliverEventArgs e in sub)
{<BR>
Console.WriteLine("Topic({0}):{1}", e.RoutingKey,
ASCIIEncoding.ASCII.GetString(e.Body));<BR>
sub.Ack(e);<BR> }<BR>
}<BR> }<BR>}<BR><BR><BR>If the subscription RoutingKey is changed to
specific like "STOCK.PRICES.MSFT" etc. then the messages are received fine so
i'm guessing there's some flag/option that needs to bet setup or
enabled<BR><BR>I've also tried the sample code in the .net user guide using
QueueingBasicConsumer<BR>but no success there either<BR><BR><BR>Any ideas on
what could be wrong ?<BR>*****Please note that my email address may have
changed. For all<BR>future correspondence, please use this
address*****<BR><BR><BR>********************************************************************This<BR>message
(including any attachments) is confidential and/or<BR>privileged. It is to be
used by the intended recipients only. If<BR>you have received it by mistake
please notify the sender by return<BR>e-mail and delete this message from your
system. Any unauthorized<BR>use or dissemination of this message in whole or
in part is<BR>strictly prohibited. Please note that e-mails are
inherently<BR>insecure and susceptible to change. The Royal Bank of
Scotland<BR>Group, plc ("RBS") and its US subsidiaries, and affiliates
and<BR>subsidiary undertakings, including but not limited to, RBS plc
New<BR>York and Connecticut Branches, RBS Securities Inc., ABN AMRO
Bank<BR>N.V. New York and Chicago Branches and, ABN AMRO
Incorporated,<BR>Citizens Financial Group, Inc. and RBS Citizens, N.A., shall
not be<BR>liable for the improper or incomplete transmission of
the<BR>information contained in this communication or Attachment nor
for<BR>any delay in its receipt or damage to your system. RBS does
not<BR>guarantee that the integrity of this communication has
been<BR>maintained nor that this communication is free of
viruses,<BR>interceptions or interference. RBS and its subsidiaries
and<BR>affiliates do not guarantee the accuracy of any email or<BR>attachment,
that an email will be received or that RBS or its<BR>affiliates and
subsidiaries will respond to an email.<BR><BR>RBS makes no representations
that any information contained in this<BR>message (including any attachments)
are appropriate for use in all<BR>locations or that transactions, securities,
products, instruments<BR>or services discussed herein are available or
appropriate for sale<BR>or use in all jurisdictions, or by all investors or
counterparties.<BR>Those who utilize this information do so on their own
initiative<BR>and are responsible for compliance with applicable local laws
or<BR>regulations.********************************************************************<BR><BR>_______________________________________________<BR>rabbitmq-discuss
mailing list<BR><A
href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</A><BR><A
href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss"
target=_blank>http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</A><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>