Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

INTSAMPLES-93 - Pollish the JPA Samples #65

Merged
merged 1 commit into from

1 participant

@ghillert ghillert merged commit ff5aa54 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 5, 2012
  1. INTSAMPLES-93 - Pollish the JPA Samples

    Gunnar Hillert authored
This page is out of date. Refresh to see the latest.
View
2  basic/jpa/src/main/java/org/springframework/integration/samples/jpa/service/PersonService.java
@@ -39,7 +39,7 @@
/**
*
- * @return the matching {@link Person} record(S)
+ * @return the matching {@link Person} record(s)
*/
@Payload("new java.util.Date()")
List<Person> findPeople();
View
8 basic/jpa/src/main/resources/META-INF/spring/integration/spring-integration-context.xml
@@ -14,9 +14,7 @@
http://www.springframework.org/schema/integration/jpa http://www.springframework.org/schema/integration/jpa/spring-integration-jpa.xsd">
<int:channel id="createPersonRequestChannel"/>
- <int:channel id="createPersonReplyChannel"/>
<int:channel id="listPeopleRequestChannel"/>
- <int:channel id="listPeopleReplyChannel"/>
<int:gateway id="personService"
service-interface="org.springframework.integration.samples.jpa.service.PersonService"
@@ -31,11 +29,11 @@
</int-jpa:retrieving-outbound-gateway>
<int-jpa:updating-outbound-gateway entity-manager-factory="entityManagerFactory"
- request-channel="createPersonRequestChannel">
- <int-jpa:transactional transaction-manager="transactionManager"/>
+ request-channel="createPersonRequestChannel" >
+ <int-jpa:transactional transaction-manager="transactionManager" />
</int-jpa:updating-outbound-gateway>
- <!-- Depending on the selected profile, user can use different JPA Providers -->
+ <!-- Depending on the selected profile, users can use different JPA Providers -->
<beans profile="default, hibernate">
<import resource="classpath:/META-INF/spring/integration/hibernate-context.xml"/>
Something went wrong with that request. Please try again.