Here are some updates from my side.<br> 1. There is not much scope in our project plan to squeeze in development of an XI AMQP adapter. Our SAPXI team is mostly overwhelmed with work.<br> <br> 2. We are planning to attempt for XI HTTP adapter. Most likely will use some plugin in Rabbit which will allow PubSub over HTTP. I believe MochiWeb will need additional plug-in to act as an http interface to Rabbit broker. I am not sure if any is readily available. Let me know if someone would like to recommend any.<br>
<br> 3. I did look at amqp-rest, haven't installed it yet, but it appears that this prj hasn't been active sine more than a year. Does anyone has any experience with it?<br> I also am not sure how it will handle msgs of XML format. It appears to have having forward slash as a delimiter in url.<br>
<br> 4. We did look briefly at QPID JMS client with Rabbit broker to make our life easier, but alas they don't gel easily with each other in negotiating protocols & versions and maybe more issues. It will need me to deep dive. Probably will consider when no other option.<br>
<br> 5. I was wondering, whatif I create a small webapp, to which SAPXI can submit a html form with msg etc data and that webapp takes care of pushing it to Rabbit. It appears more along the lines of some plugin inside Rabbit using Mochi, but will spare me of learning how to develop plug-in for rabbit.<br>
<br> Btw, I was going through <a href="https://dev.rabbitmq.com/wiki/WritingYourOwnClient">https://dev.rabbitmq.com/wiki/WritingYourOwnClient</a> and "How to guide" and "Ben's guide" links appear to be broken.<br>
<br><b>Lynton,</b><br> To answer your question and provide more details.<br> 1. The format of msgs from SAPXI is XML.<br> 2. Our communication requirement between XI and Rabbit is one way. XI will be publishing msgs to other systems through rabbit, but not consuming any.<br>
<br>I will update you and our group here, as and when we progress with some decisions/implementations.<br><br>Thanks,<br>Rishi<br><br><div class="gmail_quote">On Mon, Jul 11, 2011 at 7:34 PM, Rishi Dev <span dir="ltr"><<a href="mailto:rishdev@gmail.com">rishdev@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Jul 11, 2011 at 1:00 PM, Alexis Richardson <span dir="ltr"><<a href="mailto:alexis@rabbitmq.com" target="_blank">alexis@rabbitmq.com</a>></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><br>
<br>
<br>
On Mon, Jul 11, 2011 at 7:28 PM, Lynton Grice <<a href="mailto:lynton.grice@ls-cs.com" target="_blank">lynton.grice@ls-cs.com</a>> wrote:<br>
> Hi Rishi,<br>
><br>
> I am a SAP XI consultant in Johannesburg and also play around with RabbitMQ<br>
> when I get a chance.<br>
><br>
> Your question is very interesting, and one that I have wondered about<br>
> before. Obviously the long term approach would be to develop a sender /<br>
> receiver Java adapter for SAP XI / PI to handle the AMQP communication, but<br>
> the disadvantage here is that adapter development can be tricky and has a<br>
> relatively steep learning curve. But if you have the skills I say go for it.<br>
><br>
> I have not been following the current "adapters" for RabbitMQ, but I would<br>
> imagine that putting some sort of RESTful / HTTP interface using something<br>
> like MochiWeb would be pretty simple to talk to from a SAP XI HTTP adapter.<br>
> I know this is not perfect but an option nevertheless.<br>
><br>
> Sending messages from RabbitMQ to SAP XI would be very easy from a proof of<br>
> concept point of view. As you already know you would simple build up the URL<br>
> to post the XML message to using the correct channel, sender service, sender<br>
> interface etc in the<br>
><br>
> http://<server>:<port>/XISOAPAdapter/MessageServlet?channel=:<service>:<sender_channle>&version=3.0&Sender.Service=<service>&Interface=<namespace><interface_name><br>
><br>
> Writing an "adapter" for RabbitMQ that takes messages off a queue and sends<br>
> them to a configurable URL like the one above should not be too hard.<br>
><br>
> A question for you: What format would the messages be in on the RabbitMQ<br>
> queue? Already in "SAP XI XML" format?<br>
><br>
> The bottomline is their are many ways one could do this, if you had to ask<br>
> me my choice I would choose between the following 2:<br>
><br>
> 1. Create a custom Java adapter for both the sender AMQP and receiver AMQP<br>
> adapter<br>
><br>
> 2. On the next option I speak from experience in doing it and it works<br>
> great:<br>
> - Create an RFC Server in C / C++. This could be called from SAP XI<br>
> and pass the messages to it, from there you would simple use some RabbitMQ<br>
> API to send the messages to RabbitMQ<br>
> - For sending messages to SAP I would just post the message straight<br>
> to SAP XI using something like the URL above. You could easily write such a<br>
> HTTP client in Erlang (or Python etc) and "plug it in as an adapter" to<br>
> RabbitMQ.<br>
><br>
> Let me brainstorm it a little more, but feel free to email me and we can<br>
> discuss this more to get the best answer.<br>
><br>
> Lynton<br>
><br>
><br>
> On 11/07/2011 18:05, Alexis Richardson wrote:<br>
>><br>
>> Rishi<br>
>><br>
>> I have bcc'd someone who may be able to advise you.<br>
>><br>
>> alexis<br>
>><br>
>><br>
>> On Fri, Jul 8, 2011 at 9:21 PM, RishiDev<<a href="mailto:rishdev@gmail.com" target="_blank">rishdev@gmail.com</a>> wrote:<br>
>>><br>
>>> To certain extent I believe the question should go to SAPXI community.<br>
>>> And we have already raised a ticket with them, but still I wanted to<br>
>>> quickly check if someone from our RabbitMQ community has some tips to<br>
>>> share.<br>
>>><br>
>>> On Jul 8, 1:36 pm, RishiDev<<a href="mailto:rish...@gmail.com" target="_blank">rish...@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> Our organization has SAP XI 7.0 systems which sends various messages<br>
>>>> to other systems across the enterprise.<br>
>>>> For better performance, reliability and message compression etc<br>
>>>> abilities we are trying to move from ActiveMQ to RabbitMQ. Having SAP<br>
>>>> XI talk to ActiveMQ was easy by using JMS type communication channel<br>
>>>> configured in XI. I want to learn from the group, what is best&<br>
>>>> recommended approach for SAPXI to Rabbit integration.<br>
>>>><br>
>>>> I know that we can use QPID (I haven't tried yet though) and get a JMS<br>
>>>> kind of integration between SAPXI and Rabbit, but I would love it, if<br>
>>>> we can have a pure AMQP base communication and avoid JMS.<br>
>>>><br>
>>>> I will appreciate any help for what approach and how (to follow) to<br>
>>>> integrate SAPXI with Rabbit.<br>
>>>><br>
>>>> Thank you.<br>
>>>> Rishi<br>
>>>> _______________________________________________<br>
>>>> rabbitmq-discuss mailing list<br>
>>>><br>
>>>> 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>
>>><br>
>>> _______________________________________________<br>
>>> rabbitmq-discuss mailing list<br>
>>> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
>>> <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>
>>><br>
><br>
><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>