Commit Graph

8 Commits

Author SHA1 Message Date
Gunnar Hillert
94e5e45fd9 INT-2582 - Refactor JPA Outbound Gateway
* Split JPA Outbound Gateway into "updating-outbound-gateway" and "retrieving-outbound-gateway"
* INT-2573 Need a mechanism to have the max-number-of-results attribute for JPA outbound gateway and inbound adapters
* Cleanup
* Add more comments
* Add unit tests

For reference see: https://jira.springsource.org/browse/INT-2573

INT-2582 - Fixed comment + fixed spelling in assertion

INT-2582 - Throw MessagingException instead of MessageHandlingException

INT-2582 - Code review changes

* Changed bean naming strategy for jpaExecutor to `Id of JPA Component + ".jpaExecutor"`
* added tests
* changed `delete-per-row` XML attribute to `delete-in-batch`
* changed `deletePerRow` property in JpaExecutor to `deleteInBatch`
* delete-in-batch defaults to "false" to follow the default in Spring Data JPA
* fixed junit test
2012-06-03 12:42:47 -04:00
Amol Nayak
190b8e33bb INT-2571 make use of use-payload-as-parameter-source in JPAExecutor
INT-2571: Suggested changes made and added an additional test case

INT-2571: Fix the javadoc generation warning in the class

INT-2571 Polishing

Factor out common code into determineParamterSource()
2012-05-30 16:49:28 -04:00
Amol Nayak
100741b354 INT-2572 Use the reply-timeout attribute in outbound gateway parser 2012-05-25 13:35:12 -04:00
Gunnar Hillert
e996c091d3 INT-2558 - JPA: remove SI version on the XSD URLs in the test contexts
For reference see: https://jira.springsource.org/browse/INT-2558
2012-05-21 13:25:41 -04:00
Artem Bilan
7e69921e13 INT-2557: chain with jpa:outbound-channel-adapter
Integration test for <jpa:outbound-channel-adapter> inside <chain>.
Polishing JpaOutboundChannelAdapterTests for increase execution speed.
Removal version from XDS URLs from the affected contexts.
2012-05-18 12:55:20 -04:00
Gunnar Hillert
df804588d8 INT-2560 - Fix tests in JpaPollingChannelAdapterTests
For reference see: https://jira.springsource.org/browse/INT-2560
2012-05-15 11:47:33 -04:00
Gunnar Hillert
1b03c40abc INT-2556 - Fix Test JpaPollingChannelAdapterTests
For reference see: https://jira.springsource.org/browse/INT-2556
2012-05-14 18:22:39 -04:00
Amol Nayak
16f48a12e6 INT-1983 - Add JPA Adapter
For reference see: https://jira.springsource.org/browse/INT-1983

* INT-2435 - Add the ability to automatically resolve the entity-class from the payload as fallback
* Add <transactional/> support for **Jpa Outbound Gateway** and **Jpa Outbound Channel Adapter**
* Merging Documentation from: https://github.com/amolnayak311/spring-integration/blob/INT-2440/src/reference/docbook/jpa.xml
* Provide JPA Tests against Hibernate, EclipseLink and OpenJPA
* Improve Documentation
* Remove trailing white-space, convert white-space to tabs, remove @transactional from DefaultJpaOperations
* INT-2440 Adding the documentation for the JPA adapters

INT-1983 - Code Review based Fixes
* Fix indentation in XML Schema
* Remove *transactional* sub-element definition from JPA Inbound Channel Adapter in XML Schema
* Fix enumeration *gatewayType*

INT-1983 - Based on Code Review

* Remove '/** {@inheritDoc} */' from DefaultJpaOperations
* Remove JavaDoc parameters that don't contains details
* Cleanup *JpaUtils*
* Remove "transaction-manager-ref" from *spring-integration-jpa-2.2.xsd*
* Cleanup *spring-integration-jpa-2.2.xsd*
* Provide documentation to *EclipseLinkJpaOperationsTests* on how to run tests in IDE
* Provide documentation to *OpenJpaJpaOperationsTests* on how to run tests in IDE
* Refactor JPA Reference Doc Chapter (work in progress)

INT-1983 - Code Review: provide better JavaDoc
2012-05-14 13:12:06 -04:00