Hi Lynton, Alexis,<br><br>I must thank you both for your kind gesture of help.<br>I will go through the details based on your inputs along with my SAP XI experts here, and will try to come back with some updates on my side ASAP.<br>
And I sure will wait for more suggestions from our team here.<br><br>Thank you,<br>Rishi<br><br><div class="gmail_quote">On Mon, Jul 11, 2011 at 1:00 PM, Alexis Richardson <span dir="ltr">&lt;<a href="mailto:alexis@rabbitmq.com">alexis@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks very much Lynton!<br>
<br>
I assume you meant RPC not RFC ;-)<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Mon, Jul 11, 2011 at 7:28 PM, Lynton Grice &lt;<a href="mailto:lynton.grice@ls-cs.com">lynton.grice@ls-cs.com</a>&gt; wrote:<br>
&gt; �Hi Rishi,<br>
&gt;<br>
&gt; I am a SAP XI consultant in Johannesburg and also play around with RabbitMQ<br>
&gt; when I get a chance.<br>
&gt;<br>
&gt; Your question is very interesting, and one that I have wondered about<br>
&gt; before. Obviously the long term approach would be to develop a sender /<br>
&gt; receiver Java adapter for SAP XI / PI to handle the AMQP communication, but<br>
&gt; the disadvantage here is that adapter development can be tricky and has a<br>
&gt; relatively steep learning curve. But if you have the skills I say go for it.<br>
&gt;<br>
&gt; I have not been following the current &quot;adapters&quot; for RabbitMQ, but I would<br>
&gt; imagine that putting some sort of RESTful / HTTP interface using something<br>
&gt; like MochiWeb would be pretty simple to talk to from a SAP XI HTTP adapter.<br>
&gt; I know this is not perfect but an option nevertheless.<br>
&gt;<br>
&gt; Sending messages from RabbitMQ to SAP XI would be very easy from a proof of<br>
&gt; concept point of view. As you already know you would simple build up the URL<br>
&gt; to post the XML message to using the correct channel, sender service, sender<br>
&gt; interface etc in the<br>
&gt;<br>
&gt; http://&lt;server&gt;:&lt;port&gt;/XISOAPAdapter/MessageServlet?channel=:&lt;service&gt;:&lt;sender_channle&gt;&amp;version=3.0&amp;Sender.Service=&lt;service&gt;&amp;Interface=&lt;namespace&gt;&lt;interface_name&gt;<br>

&gt;<br>
&gt; Writing an &quot;adapter&quot; for RabbitMQ that takes messages off a queue and sends<br>
&gt; them to a configurable URL like the one above should not be too hard.<br>
&gt;<br>
&gt; A question for you: What format would the messages be in on the RabbitMQ<br>
&gt; queue? Already in &quot;SAP XI XML&quot; format?<br>
&gt;<br>
&gt; The bottomline is their are many ways one could do this, if you had to ask<br>
&gt; me my choice I would choose between the following 2:<br>
&gt;<br>
&gt; 1. Create a custom Java adapter for both the sender AMQP and receiver AMQP<br>
&gt; adapter<br>
&gt;<br>
&gt; 2. On the next option I speak from experience in doing it and it works<br>
&gt; great:<br>
&gt; � � � �- Create an RFC Server in C / C++. This could be called from SAP XI<br>
&gt; and pass the messages to it, from there you would simple use some RabbitMQ<br>
&gt; API to send the messages to RabbitMQ<br>
&gt; � � � �- For sending messages to SAP I would just post the message straight<br>
&gt; to SAP XI using something like the URL above. You could easily write such a<br>
&gt; HTTP client in Erlang (or Python etc) and &quot;plug it in as an adapter&quot; to<br>
&gt; RabbitMQ.<br>
&gt;<br>
&gt; Let me brainstorm it a little more, but feel free to email me and we can<br>
&gt; discuss this more to get the best answer.<br>
&gt;<br>
&gt; Lynton<br>
&gt;<br>
&gt;<br>
&gt; On 11/07/2011 18:05, Alexis Richardson wrote:<br>
&gt;&gt;<br>
&gt;&gt; Rishi<br>
&gt;&gt;<br>
&gt;&gt; I have bcc&#39;d someone who may be able to advise you.<br>
&gt;&gt;<br>
&gt;&gt; alexis<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Jul 8, 2011 at 9:21 PM, RishiDev&lt;<a href="mailto:rishdev@gmail.com">rishdev@gmail.com</a>&gt; �wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; To certain extent I believe the question should go to SAPXI community.<br>
&gt;&gt;&gt; And we have already raised a ticket with them, but still I wanted to<br>
&gt;&gt;&gt; quickly check if someone from our RabbitMQ community has some tips to<br>
&gt;&gt;&gt; share.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Jul 8, 1:36 pm, RishiDev&lt;<a href="mailto:rish...@gmail.com">rish...@gmail.com</a>&gt; �wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Our organization has SAP XI 7.0 systems which sends various messages<br>
&gt;&gt;&gt;&gt; to other systems across the enterprise.<br>
&gt;&gt;&gt;&gt; For better performance, reliability and message compression etc<br>
&gt;&gt;&gt;&gt; abilities we are trying to move from ActiveMQ to RabbitMQ. Having SAP<br>
&gt;&gt;&gt;&gt; XI talk to ActiveMQ was easy by using JMS type communication channel<br>
&gt;&gt;&gt;&gt; configured in XI. I want to learn from the group, what is best&amp;<br>
&gt;&gt;&gt;&gt; recommended approach for SAPXI to Rabbit integration.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I know that we can use QPID (I haven&#39;t tried yet though) and get a JMS<br>
&gt;&gt;&gt;&gt; kind of integration between SAPXI and Rabbit, but I would love it, if<br>
&gt;&gt;&gt;&gt; we can have a pure AMQP base communication and avoid JMS.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I will appreciate any help for what approach and how (to follow) to<br>
&gt;&gt;&gt;&gt; integrate SAPXI with Rabbit.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thank you.<br>
&gt;&gt;&gt;&gt; Rishi<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; rabbitmq-discuss mailing list<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; rabbitmq-disc...@lists.rabbitmq.comhttps://<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>

&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; rabbitmq-discuss mailing list<br>
&gt;&gt;&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt;&gt;&gt; <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
&gt;&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>