R. Tyler Croy
9df7b0b431
Make sure that evaluation of the log block happens in the instance instead of class
...
Fixes #3
2013-10-03 16:12:16 -07:00
R. Tyler Croy
a0178aec34
Add #closed? to the Stapfen::Client API to make the worker code a bit cleaner
2013-10-03 15:59:08 -07:00
R. Tyler Croy
176bb2525a
Add a few more specs for Stapfen::Client::JMS
...
Testing more parts of the #publish method might need to be left to integration
tests, otherwise we'll probably be stubbing out far too much of the "meat" of
the method
2013-10-03 15:27:46 -07:00
R. Tyler Croy
b2cff6db3a
Introduce a Stapfen::Client abstraction to unify the worker API code betwen STOMP and JMS
...
This requires more testing but thus far I've done some integration testing with an internal project
2013-10-02 18:18:30 -07:00
R. Tyler Croy
cbde4968b5
Allow converting Stapfen::Destination objects to JMS compatible qualified strings
2013-09-27 16:18:30 -07:00
R. Tyler Croy
9d5b4cbeef
Handle running as a JMS-based Stapfen::Worker
2013-09-27 14:21:15 -07:00
R. Tyler Croy
272870ed4f
Initial pass at providing a backend-agnostic Stapfen::Message class
2013-09-27 13:01:59 -07:00
R. Tyler Croy
0f587c5bcb
Ensure all exit_cleanly methods get invoked for workers even if they raise exceptions
...
Fixes #5
2013-09-25 20:08:47 -07:00
R. Tyler Croy
30bd44023e
Only exit the worker runloop if we're actually dead, not if we're reconnecting
2013-09-06 23:25:30 -07:00
R. Tyler Croy
98be0be110
Force the configure block to be evaluated inside every instance of the worker class
...
This should make more dynamic configurations easier
2013-09-06 20:18:09 -07:00
Ian Smith
b3344c5c62
Simplify unreceive header structure.
2013-08-17 19:40:18 -07:00
Ian Smith
e00c2d160d
Consumers should be able to unreceive messages they can't handle.
2013-08-16 01:15:47 -07:00
R. Tyler Croy
ce6a508479
Properly handle signals when multiple instances of Stapfen::Worker are running around
...
Also added the #shutdown block to allow workers to clean up after themselves a bit
2013-07-28 14:09:48 -07:00
R. Tyler Croy
7abdc98106
Add the `log` method to the DSL, allowing easy use of log methods from within the worker
...
Bumping the version to 1.2.0 for the next release too because hey why not
2013-07-28 13:15:00 -07:00
R. Tyler Croy
0305a54f56
Revert "Rework Stapfen to use OnStomp instead of the Stomp gem for better JRuby compat"
...
The issue has since been fixed, waiting for an upstream version release
This reverts commit ec822fd433
.
2013-07-28 12:07:55 -07:00
R. Tyler Croy
ec822fd433
Rework Stapfen to use OnStomp instead of the Stomp gem for better JRuby compat
...
See <https://github.com/stompgem/stomp/issues/60 >
2013-07-26 16:38:04 -07:00
R. Tyler Croy
bc24665ba3
Add a simple example and make sure it runs properly, looks like this is good enough for me
2013-02-12 07:09:16 -08:00
R. Tyler Croy
791af06ad5
Add the basics of the framework that I want to use underneath here
2013-02-12 07:05:21 -08:00
R. Tyler Croy
675b951e69
Add some dependencies to the gemspec and Gemfile
2013-02-12 06:01:08 -08:00