I'm trying to get an embedded SQS mock going for some self-contained local testing of a Java SQS client.
ElasticMQ sounds like it should do what I'm after, but the instructions seem to assume I'm using Java, and I can't figure out how to start ElasticMQ's rest server from within Java.
I've tried what I assume is the Java equivalent of the code provided at http://ift.tt/1K7obF3:
RestServer server = new SQSRestServerBuilder().start()
but SQSRestServerBuilder() expects a Client parameter, and I have no idea what to put in there.
Has anyone else got ElasticMQ running in-memory in Java?
Aucun commentaire:
Enregistrer un commentaire