diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-05-19 13:22:38 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-05-19 13:22:38 +0100 |
| commit | 003b4167fef45b15bf8a123aa07ecda0b1660500 (patch) | |
| tree | f882a24d4c228c2e3b1f7b94a61cf3cd9a6600bb /include/rabbit.hrl | |
| parent | b81f6ccf7329f5c3944bc8e63b4cfc3135db5112 (diff) | |
| download | rabbitmq-server-git-003b4167fef45b15bf8a123aa07ecda0b1660500.tar.gz | |
Some initial reworkings, making sure all messages have a guid, and moving the persister flag around slightly. Also various weird comments appearing in _process.erl for me!
Diffstat (limited to 'include/rabbit.hrl')
| -rw-r--r-- | include/rabbit.hrl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 44e1368460..6212d4f327 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -62,7 +62,7 @@ -record(listener, {node, protocol, host, port}). --record(basic_message, {exchange_name, routing_key, content, persistent_key}). +-record(basic_message, {exchange_name, routing_key, content, guid, is_persistent}). -record(dq_msg_loc, {queue_and_seq_id, is_delivered, msg_id}). @@ -134,7 +134,8 @@ #basic_message{exchange_name :: exchange_name(), routing_key :: routing_key(), content :: content(), - persistent_key :: maybe(pkey())}). + guid :: guid(), + is_persistent :: bool()}). -type(message() :: basic_message()). %% this really should be an abstract type -type(msg_id() :: non_neg_integer()). |
