Commit Graph

477 Commits

Author SHA1 Message Date
Gary Russell
89f0b9c702 AMQP-247 Queue ID/Name Documentation
Add a tip explaining when to use ID Vs. name when
defining a <queue/>.
2012-07-03 11:13:12 -04:00
Gary Russell
d99640a6f2 Merge pull request #47 from ghillert/AMQP-246 2012-06-27 15:35:14 -04:00
Gunnar Hillert
013cf42a64 AMQP-246 - Remove old POMs
* Remove POMs from Project Trees After Gradle Migration
* Remove .springBeans files

For reference: https://jira.springsource.org/browse/AMQP-246

AMQP-246 - Adding .springBeans back to .gitignore
2012-06-27 15:33:10 -04:00
Gary Russell
745894580a Merge pull request #42 from ghillert/AMQP-83 2012-06-19 11:11:20 -04:00
Gunnar Hillert
5c719a4646 AMQP-83 - Add Gradle Support
AMQP-83 Reference Doc + JavaDoc fixes - Dist fixes

* Use Docbook XSDs rather than DTDs --> substantial speedup
* For Java Doc follow the same structure as Spring Integration
* Make sure the distribution package's files match the files from the Maven build, e.g. Schema files, license files etc

AMQP-83 - Rename src/docbkx to src/reference
* Remove src/dist/distribution.xml

AMQP-83 Gradle Conversion - Cleanup

* Delete unnecessary Docbook resources
* Update Wrapper to Gradle 1.0 RC3

AMQP-83 - Remove Mavem POM files

AMQP-83 - Update Spring version to 3.0.7 as per AMQP-238

AMQP-83 Rebase with latest commits from master (After 1.1.1 release)

AMQP-83 Code Review

* Remove Bundlor Plugin
* Update README.md
* verify created *pom.xml* files after *gradle install* execution that dependencies match
* ensure that *dist* task is executed by default
2012-06-19 11:09:34 -04:00
Dave Syer
37952790a8 [maven-release-plugin] prepare for next development iteration 2012-05-31 16:40:23 +01:00
Dave Syer
38630d84a2 [maven-release-plugin] prepare release 1.1.1.RELEASE 2012-05-31 14:51:42 +01:00
Dave Syer
7e4897cc17 Update git co-ordinates 2012-05-31 14:51:08 +01:00
Gunnar Hillert
4f3d15e74d Merge pull request #45 from garyrussell/AMQP-204
* garyrussell-AMQP-204:
  AMQP-204 Fix Typo in Class Comment
2012-05-30 13:32:18 -04:00
Gary Russell
93d4abcef7 AMQP-204 Fix Typo in Class Comment
Reference to JMS Vs. Rabbit.
2012-05-30 12:43:14 -04:00
Gunnar Hillert
e66aea8205 Merge pull request #43 from garyrussell/AMQP-239
* garyrussell-AMQP-239:
  AMQP-239 DLE/DLQ Documentation
2012-05-30 12:29:42 -04:00
Gary Russell
574c76224e AMQP-239 DLE/DLQ Documentation
Describe how to invoke Dead Letter Exchange/Dead Letter Queue
routing when rejecting messages in a listener container.
2012-05-30 12:27:49 -04:00
Gunnar Hillert
6160ed05f3 Merge pull request #44 from garyrussell/AMQP-238
* garyrussell-AMQP-238:
  AMQP-238 SF Version 3.0.5 -> 3.0.7
2012-05-30 11:25:25 -04:00
Gary Russell
9a4dffe2ac AMQP-238 SF Version 3.0.5 -> 3.0.7 2012-05-30 11:06:42 -04:00
Gunnar Hillert
37e04506f7 Merge pull request #41 from garyrussell/AMQP-198
* garyrussell-AMQP-198:
  AMQP-198 Document Mixed Queue Arg Types
2012-05-29 23:16:53 -04:00
Gary Russell
38049201e0 AMQP-198 Document Mixed Queue Arg Types
Need to declare the type when setting non-string arguments,
such as x-message-ttl.

Add test showing how to configure a map of mixed types.
2012-05-29 23:14:24 -04:00
Gunnar Hillert
176733d074 Merge pull request #40 from garyrussell/AMQP-237
* garyrussell-AMQP-237:
  AMQP-237 Remove JavaDoc Warnings
2012-05-29 23:08:18 -04:00
Gary Russell
60900baf3d AMQP-237 Remove JavaDoc Warnings
Fix white space
2012-05-29 23:06:53 -04:00
Oleg Zhurakousky
d60f069439 Merge pull request #39 from garyrussell/AMQP-236
* AMQP-236:
  AMQP-236 Remove DOS Newlines
2012-05-24 10:48:09 -04:00
Gary Russell
662ea5caeb AMQP-236 Remove DOS Newlines
Some files had DOS Newlines (CRLF) instead of Unix (LF).

Use 'git log -p -b' to verify only white space changes.
2012-05-24 10:47:19 -04:00
Oleg Zhurakousky
50f428824e Merge pull request #38 from garyrussell/AMQP-232
* AMQP-232b:
  AMQP-232 Failing Tests (Timeout)
2012-05-24 10:46:19 -04:00
Gary Russell
23f66ed55d AMQP-232 Failing Tests (Timeout)
Increase timeout to avoid intermittent test failures.
2012-05-22 07:35:48 -04:00
Oleg Zhurakousky
3938b335c4 Merge pull request #36 from garyrussell/AMQP-234
* AMQP-234:
  AMQP-234 Create 1.1 Schema
2012-05-18 14:43:31 -04:00
Gary Russell
9e63e41137 AMQP-234 Create 1.1 Schema
Revert 1.0 schema to 1.0 and create 1.1 schema.

Update all test files to use version-less (1.1) schema.

Update spring-schemas.
2012-05-18 14:42:11 -04:00
Oleg Zhurakousky
5c08578e80 Merge pull request #37 from garyrussell/AMQP-232
* AMQP-232a:
  AMQP-232 Fix Failing Integration Tests
2012-05-18 14:35:09 -04:00
Gary Russell
f60eb5e217 AMQP-232 Fix Failing Integration Tests
Increase timers to avoid sporadic failures in
the nightly integration test build.
2012-05-18 09:23:32 -04:00
Oleg Zhurakousky
8f00710120 Merge pull request #35 from garyrussell/AMQP-233
* AMQP-233:
  AMQP-233 Allow Returns without Confirms
2012-05-16 11:31:44 -04:00
Gary Russell
8545842ab8 AMQP-233 Allow Returns without Confirms
Previously, Publisher Confirms were required in order
to enable returned (immediate/mandatory) messages.

AMQP-233 Polishing (PR Review)
2012-05-16 11:30:50 -04:00
Oleg Zhurakousky
cd3966710d Merge pull request #34 from garyrussell/AMQP-232
* AMQP-232:
  AMQP-232 Wait for Shutdown
2012-05-15 20:56:18 -04:00
Gary Russell
092b89189b AMQP-232 Wait for Shutdown 2012-05-15 20:41:26 -04:00
Oleg Zhurakousky
ac71c3c4cb Merge pull request #33 from garyrussell/AMQP-231
* AMQP-231:
  AMQP-231 Failing Integration Tests
2012-05-14 12:35:11 -04:00
Gary Russell
2dcf0ea642 AMQP-231 Failing Integration Tests
Mock setup for connection creation in 4 tests was not
updated for AMQP-225 changes (external executor).

Listener connection retry did not check for a
closed channel.

AMQP-231 More Spurious Integration Test Failures

RabbitBindingIntegrationTests Issues

* Asserting notNull on consumer tag before it might have been returned
by the broker.

* Calling basicCancel() on the wrong channel - the rabbit 2.5.0
client sent the cancel to the broker anyhow; the newer clients
check whether the tag is for a known consumer and throw an
exception if not. The Test cases were calling basicCancel() on
the sending channel instead of the consuming channel.

MessageListenerContainerLifecycleIntegrationTests did not
wait long enough for the listener's consumer to terminate.
2012-05-14 12:34:28 -04:00
Dave Syer
99fbfa16cc [maven-release-plugin] prepare for next development iteration 2012-05-11 18:08:20 +01:00
Dave Syer
04ff5d29d2 [maven-release-plugin] prepare release 1.1.0.RELEASE 2012-05-11 18:03:23 +01:00
Oleg Zhurakousky
c42b4398d1 Merge pull request #32 from garyrussell/AMQP-226
* AMQP-226:
  AMQP-226 Bump Spring Retry Version to 1.0.1
2012-05-11 12:16:21 -04:00
Gary Russell
d6890a472b AMQP-226 Bump Spring Retry Version to 1.0.1
Fix for exponential back-off policy.
2012-05-11 12:10:29 -04:00
Oleg Zhurakousky
6d13e4e9fa Merge pull request #31 from ghillert/AMQP-193
* AMQP-193:
  AMQP-193 - Add RabbitTransactionManager to RefDoc For reference see: https://jira.springsource.org/browse/AMQP-193
2012-05-11 08:15:11 -04:00
Gunnar Hillert
ce43eb4e2b AMQP-193 - Add RabbitTransactionManager to RefDoc
For reference see: https://jira.springsource.org/browse/AMQP-193
2012-05-10 23:43:20 -04:00
Gary Russell
bb3f2dc364 Merge pull request #30 from olegz/AMQP-207 2012-05-10 16:38:41 -04:00
Oleg Zhurakousky
a1b47aa3a5 AMQP-207 XSD Documentation
Remove explicit mention of default exchange if key is not provided.
However, considering that no-key is still a valid option, and would result in binding to the default exchange
we may want to consider making 'key' a required field on the directExchange binding while also stating that
if you want the default binding than you should not have a <binding> defined in the first place.
2012-05-10 16:37:39 -04:00
Oleg Zhurakousky
862c59a49f Merge pull request #14 from SamNelson/AMQP-202
Created separate branch to do the merge since the work was done on the master
* AMQP-202:
  passing basic tests
2012-05-10 14:11:01 -04:00
Sam Nelson
ec5c3f3646 passing basic tests
it might help if I added the files to git

fixed for maps

removed bad import

removed ClassMapper

formatted code after importing eclipse-code-formatter.xml

formatted test code

added author tag

Reinstated the ClassMapper interface, Renamed DefaultJavaTypeMapper to DefaultClassMapper, DefaultClassMapper now implements ClassMapper and JavaTypeMapper interfaces, Moade TypeFactory imports static.

Reverted DefaultClassMapper. Moved DefaultJavaTypeMapper back.

added missing type mapper classes

Implemented backward compatibility with ClassMapper
2012-05-10 14:07:45 -04:00
Oleg Zhurakousky
91b6dc8eec Merge pull request #28 from ghillert/AMQP-228
* AMQP-228:
  AMQP-228 - Doc - Fix Incorrect Code Samples
2012-05-10 13:56:49 -04:00
Gunnar Hillert
f7ba68e579 AMQP-228 - Doc - Fix Incorrect Code Samples 2012-05-10 13:55:57 -04:00
Oleg Zhurakousky
7a26acb7c6 Merge pull request #29 from garyrussell/AMQP-201
* AMQP-201:
  AMQP-201 Exchange-to-Exchange Binding
2012-05-10 13:52:59 -04:00
Gary Russell
f78013671f AMQP-201 Exchange-to-Exchange Binding
The BindingFactoryBean already supported exchange to exchange
binding. Add namespace support; remove 'required' from queue
attribute in XSD; add 'exchange' (optional) and enforce XOR
in parser.

Builds on parser refactoring for Federated Exchange.

Tested with a real broker with the amqp-sample.

    <rabbit:direct-exchange name="si.test.exchange">
        <rabbit:bindings>
            <rabbit:binding queue="si.test.queue" key="si.test.binding" />
        </rabbit:bindings>
    </rabbit:direct-exchange>

    <rabbit:direct-exchange name="si.test.exchange2">
        <rabbit:bindings>
            <rabbit:binding exchange="si.test.exchange" key="si.test.binding" />
        </rabbit:bindings>
    </rabbit:direct-exchange>
2012-05-10 13:51:44 -04:00
Oleg Zhurakousky
ded9faac99 Merge pull request #27 from garyrussell/AMQP-215
* AMQP-215:
  AMQP-215 Federated Exchange Support
2012-05-10 13:50:12 -04:00
Gary Russell
e63fb7896f AMQP-215 Federated Exchange Support
Initial commit - schema, parser, parser tests,
integration tests.

TODO: doc.

Note: Federated exchanges need some hard config
on the server. The test cases use this

[
    {rabbitmq_federation,
     [
       {upstream_sets, [{"upstream-set", [[{connection, "upstream-server"} ]]}
                       ]},
       {connections, [{"upstream-server", [{host, "somehost"}]}
                     ]}
     ]
    }
].

If not available, the tests will be ignored.

AMQP-215 Reference Documentation

Add information about federated exchanges.

AMQP-215 Polishing - remove test exchanges.
2012-05-10 13:48:56 -04:00
Oleg Zhurakousky
24accd560e Merge pull request #19 from garyrussell/AMQP-219
* AMQP-219:
  AMQP-219 RabbitTemplate Conversion With Message
2012-05-10 13:44:55 -04:00
Gary Russell
7f19f4abdb AMQP-219 RabbitTemplate Conversion With Message
Previously, convertAndSend(), convertSendAndReceive() methods
"converted" an Object that was already a Message to a Message
with a null body.

Now, if the object is already a Message, no conversion is
performed.
2012-05-10 13:44:07 -04:00