在开发过程中仿效亚马逊SQS [英] Emulating Amazon SQS during development

查看:127
本文介绍了在开发过程中仿效亚马逊SQS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在开始使用Amazon SQS一定的发展很感兴趣,也许是SimpleDB的太多,我的问题是,是否有模仿的功能,只是为发展目的的开源解决方案。我已经遇到了桉树项目( http://open.eucalyptus.com ),用于创建一个欧盟式的云。

I'm quite interested in beginning some development using Amazon SQS, perhaps SimpleDB too, my question is this, are there any open source solutions that mimic the functionality, just for the purposes of development. I've already encountered the Eucalyptus project (http://open.eucalyptus.com) for creating an EC-esque cloud.

我没有与任何谷歌的成功,我怀疑这是因为进入成本如此低廉,但仍然没有人知道这样的事?

I've not had any success with google, I suspect it's because the cost of entry is so inexpensive, but still, does anyone know of anything like this?

推荐答案

一些亚马逊的SDK有模拟方式,那就是:

Some of the Amazon SDKs have "mock" mode, which is:

模拟服务是一种替代方法   使用示例code。服务   不调用AWS,而是返回   一组反应,你可以修改   满足您的需求(XML响应   文件是在模拟目录)。该   模拟服务很容易让你   如何测试你的应用程序处理   不同的反应。

The mock service is an alternate way to use the sample code. The service doesn't call AWS, but instead returns a set response that you can modify to suit your needs (the XML response files are in the Mock directory). The mock service makes it easy for you to test how your application handles different responses.

有关SQS,它出现在Java,Perl和PHP软件开发工具包有模拟模式。我知道,.NET SDK亚马逊RDS还具有模拟模式。如果要使用犯规的SDK有可用的模拟模式下,你很可能创建自己相似类型的返回实际上击中了服务的preconfigured的反应,而不是东西。

For SQS, it appears the Java, Perl, and PHP sdks have mock mode. I know that the .NET SDK for Amazon RDS also has the mock mode. If the sdk you will be using doesnt have the mock mode available, you could probably create your own similar type of thing which returns the preconfigured responses instead of actually hitting up the service.

<一个href="http://docs.amazonwebservices.com/AWSSimpleQueueService/2009-02-01/SQSGettingStartedGuide/index.html?$p$pparingSamples.html">See这里更多资讯

这篇关于在开发过程中仿效亚马逊SQS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆