<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16535"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT
face=Calibri>Hi,</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-US" lang=EN-US></SPAN> </P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT face=Calibri>We want to write
a Silverlight client that can communicate with RabbitMQ. The problem is that the
RabbitMQ .NET client assembly doesn’t work in a Silverlight environment.
Silverlight is a another runtime, which is mostly compatible with .NET, but is
just a subset.<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT face=Calibri>We tried
different approaches to find a good solution, but none of them
works:</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><FONT face=Calibri><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>- </SPAN><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>Tried to compile the .NET client
code against the Silverlight runtime. When we try that, we get some errors
because there are some missing classes in Silverlight like TcpClient,
XmlDocument, ArrayList, …</SPAN></FONT></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><FONT face=Calibri><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>- </SPAN></FONT><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT face=Calibri>Used Kaazing
(http://www.kaazing.com/), a gateway to use Sockets with different languages
(Silverlight, JavaScript, …). The problem here is that Kaazing only works with
version 0.9.0 or 0.9.1 of the AMQP protocol, but RabbitMQ is only available with
version 0.8.0.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><FONT face=Calibri><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>- </SPAN><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>Tried the STOMP plug-in, because
there is a (working) Silverlight client for STOMP. Sending of text works, but we
have to send binary data (Protobuf serialized). This does not work, the received
data is wrong (both the content as the length). We’re not sure if it’s the
RabbitMQ STOMP plugin or the STOMP client that’s doing something wrong with
binary data. Is there someone who already managed to send binary data over
STOMP?<o:p></o:p></SPAN></FONT></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT face=Calibri>We also have in
mind two other possible approaches:</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT
face=Calibri>-</FONT></SPAN><SPAN
style="FONT-FAMILY: Symbol; mso-ansi-language: EN-US; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"
lang=EN-US><SPAN style="mso-list: Ignore"><SPAN
style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT face=Calibri>Build a web
service between the Silverlight client and RabbitMQ. But we want to avoid
polling as this would decrease the responsiveness. This is why we want to
connect straight to RabbitMQ from the Silverlight client.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><FONT face=Calibri><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>- </SPAN><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>Get the RabbitMQ client Project to
compile against the Silverlight runtime. This is not undoable, but requires some
work. Would someone be interested in a Silverlight version of the RabbitMQ
client?<o:p></o:p></SPAN></FONT></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT face=Calibri>Now we have some
questions:</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><FONT face=Calibri><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>- </SPAN><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>Is there any other possible way to
get a good communication between a Silverlight application and
RabbitMQ?</SPAN></FONT></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><FONT face=Calibri><SPAN
style="mso-ansi-language: EN-US" lang=EN-US>- </SPAN></FONT><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT face=Calibri>Is there a way to
resolve the problems mentioned above?<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-US" lang=EN-US><FONT face=Calibri>Kind
Regards<o:p></o:p></FONT></SPAN></P><SPAN
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"
lang=EN-US>Jens Aernouts – Student Bachelor of Applied Engineering @ Artesis
University College of Antwerp</SPAN>
<DIV><FONT face=Calibri></FONT> </DIV></BODY></HTML>