Skip to content

Commit

Permalink
Updated docs for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Oct 30, 2014
1 parent 40abcd7 commit dbcd649
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
14 changes: 10 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
# 0.4.3

### New Features

* Added support for configuring recoverable and retryable exceptions.

# 0.4.2

* Updated internals to support recent breaking amqp-client API changes
* Updated internals to support recent breaking amqp-client API changes.

# 0.4.1

### Bug Fixes

* Added ordering to consumer, exchange and queue re-declarations
* Fixed issue with port config not always being respected
* Fixed issue #36 - Requested heartbeat should be in seconds
* Added ordering to consumer, exchange and queue re-declarations.
* Fixed issue with port config not always being respected.
* Fixed issue #36 - Requested heartbeat should be in seconds.

# 0.4.0

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lyra [![Build Status](https://travis-ci.org/jhalterman/lyra.png)](https://travis-ci.org/jhalterman/lyra)
# Lyra

*High availability RabbitMQ client*

Expand All @@ -18,7 +18,7 @@ Add the Lyra dependency:
<dependency>
<groupId>net.jodah</groupId>
<artifactId>lyra</artifactId>
<version>0.4.2</version>
<version>0.4.3</version>
</dependency>
```

Expand Down Expand Up @@ -122,13 +122,13 @@ Event listeners can be useful for setting up additional resources during recover

Lyra allows for recovery and retry policies to be set globally, for individual resource types, and for initial connection attempts.

#### On Retryable Failures
#### On Recoverable / Retryable Failures

Lyra will only retry failed invocations that are deemed *retryable*. These include connection errors that are not related to failed authentication, and channel or connection errors that might be the result of temporary network failures.
Lyra will only recover or retry on certain failures. By default these include connection errors that are not related to failed authentication, and channel or connection errors that might be the result of temporary network failures. The sets of [recoverable][recoverable-exceptions] and [retryable][retryable-exceptions] exceptions can be mutated as needed.

#### On Publishing

When a channel is closed and is in the process of being recovered, attempts to publish to that channel will result in `AlreadyClosedException` being thrown. Publishers should either wait and listen for recovery by way of a [ChannelListener][channel-listener], or use a [RetryPolicy][retry-policy] to retry publish attempts once the channel is recovered. The set of recoverable and retryable exceptions [can be][recoverable-exceptions] [configured][retryable-exceptions] as needed.
When a channel is closed and is in the process of being recovered, attempts to publish to that channel will result in `AlreadyClosedException` being thrown. Publishers should either wait and listen for recovery by way of a [ChannelListener][channel-listener], or use a [RetryPolicy][retry-policy] to retry publish attempts once the channel is recovered.

#### On Message Delivery

Expand Down

0 comments on commit dbcd649

Please sign in to comment.