1 Star 2 Fork 0

wupper / spring-integration-samples

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
build.gradle 43.81 KB
Copy Edit Web IDE Raw Blame History
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532
buildscript {
repositories {
mavenCentral()
maven { url 'https://plugins.gradle.org/m2' }
maven { url 'https://repo.spring.io/libs-snapshot' }
}
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:1.0.11.RELEASE'
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
classpath 'gradle.plugin.org.gretty:gretty:2.3.1'
}
}
plugins {
id 'org.sonarqube' version '2.8'
}
description = 'Spring Integration Samples'
apply plugin: 'base'
apply plugin: 'idea'
ext {
linkHomepage = 'https://projects.spring.io/spring-integration'
linkCi = 'https://build.spring.io/browse/INTSAMPLES'
linkIssue = 'https://github.com/spring-projects/spring-integration-samples/issues'
linkScmUrl = 'https://github.com/spring-projects/spring-integration-samples'
linkScmConnection = 'scm:git:git://github.com/spring-projects/spring-integration-samples.git'
linkScmDevConnection = 'scm:git:ssh://git@github.com:spring-projects/spring-integration-samples.git'
}
allprojects {
group = 'org.springframework.integration.samples'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/libs-milestone' }
maven { url 'https://repo.spring.io/libs-snapshot' }
// maven { url 'https://repo.spring.io/libs-staging-local' }
}
}
subprojects { subproject ->
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven'
task generatePom {
doLast {
pom {
project {
name = project.description
description = project.description
url = linkHomepage
organization {
name = 'SpringIO'
url = 'https://spring.io'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'https://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
scm {
url = linkScmUrl
connection = 'scm:git:' + linkScmConnection
developerConnection = 'scm:git:' + linkScmDevConnection
}
developers {
developer {
id = 'artembilan'
name = 'Artem Bilan'
email = 'abilan@vmware.com'
roles = ['project lead']
}
developer {
id = 'garyrussell'
name = 'Gary Russell'
email = 'grussell@vmware.com'
roles = ['lead emeritus']
}
developer {
id = 'markfisher'
name = 'Mark Fisher'
email = 'markfisher@vmware.com'
roles = ['project founder and lead emeritus']
}
}
if (subproject.plugins.hasPlugin('java')) {
repositories {
repository {
id = 'repo.spring.io.milestone'
name = 'Spring Framework Maven Milestone Repository'
url = 'https://repo.spring.io/libs-milestone'
}
repository {
id = 'repo.spring.io.snapshot'
name = 'Spring Framework Maven Snapshot Repository'
url = 'https://repo.spring.io/libs-snapshot'
}
}
}
if (subproject.plugins.hasPlugin('org.springframework.boot')) {
parent {
groupId = 'org.springframework.boot'
artifactId = 'spring-boot-starter-parent'
version = springBootVersion
}
}
}.withXml {
if (subproject.plugins.hasPlugin('org.akhikhl.gretty')) {
asNode().appendNode('packaging', 'war')
asNode().appendNode('build')
.appendNode('plugins')
.appendNode('plugin').with {
appendNode('groupId', 'org.mortbay.jetty')
appendNode('artifactId', 'jetty-maven-plugin')
appendNode('version', '8.1.14.v20131031')
appendNode('configuration')
.appendNode('webAppConfig')
.appendNode('contextPath', '/' + subproject.name)
}
}
if (subproject.plugins.hasPlugin('org.springframework.boot')) {
asNode().appendNode('build').appendNode('plugins')
.appendNode('plugin').with {
appendNode('groupId', 'org.springframework.boot')
appendNode('artifactId', 'spring-boot-maven-plugin')
}
}
if (subproject.plugins.hasPlugin('io.spring.dependency-management')) {
dependencyManagement.pomConfigurer.configurePom(asNode())
}
}.writeTo('pom.xml')
}
}
}
eclipse {
project {
natures += 'org.springframework.ide.eclipse.core.springnature'
}
}
if (!(subproject.name in ['advanced', 'applications', 'basic', 'intermediate', 'cafe'])) {
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'io.spring.dependency-management'
jacoco {
toolVersion = "0.8.6"
}
compileJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
ext {
activeMqVersion = '5.16.1'
apacheSshdVersion = '2.5.1'
aspectjVersion = '1.9.6'
commonsDigesterVersion = '2.0'
commonsDbcpVersion = '2.8.0'
commonsFileUploadVersion = '1.4'
commonsIoVersion = '2.8.0'
commonsLangVersion = '2.6'
commonsPoolVersion = '1.5.4'
c3p0Version = '0.9.1.2'
derbyVersion = '10.14.2.0'
hamcrestVersion = '2.2'
hibernateVersion = '5.4.28.Final'
hibernateValidatorVersion = '6.1.2.Final'
ftpServerVersion = '1.1.1'
flexjsonVersion = '2.0'
groovyVersion = '3.0.7'
hsqldbVersion = '2.5.1'
h2Version = '1.4.200'
jacksonVersion = '2.12.1'
javaxInjectVersion = '1'
javaxMailVersion = '1.6.5'
jaxbVersion = '2.3.3'
jodaTimeVersion = '1.6'
jtaVersion = '1.1'
jtdsVersion = '1.2.6'
jmsApiVersion = '2.0.1'
jrubyVersion = '9.2.14.0'
jpa21ApiVersion = '1.0.0.Final'
jpaApiVersion = '2.2.1'
jstlVersion = '1.2'
junitVersion = '4.13.2'
jythonVersion = '2.7.2'
log4jVersion = '2.14.0'
mockitoVersion = '3.7.7'
mongoDriverVersion = '4.2.0'
openJpaVersion = '2.4.0'
oracleDriverVersion = '19.3.0.0'
postgresVersion = '42.2.14'
subethasmtpVersion = '1.2'
slf4jVersion = '1.7.30'
springCloudVersion ='2020.0.0-SNAPSHOT'
springIntegrationVersion = '5.5.0-M2'
springIntegrationSocialTwiterVersion = '1.0.1.BUILD-SNAPSHOT'
springIntegrationSplunkVersion = '1.2.0.BUILD-SNAPSHOT'
springVersion = '5.3.4'
springSecurityVersion = '5.4.4'
springWebFlowVersion = '2.3.3.RELEASE'
testcontainersVersion = '1.15.2'
tilesJspVersion = '2.2.1'
validationApiVersion = '1.0.0.GA'
}
sourceSets.each {
it.resources.srcDirs = ["src/${it.name}/resources", "src/${it.name}/java"]
}
dependencyManagement {
imports {
mavenBom "org.springframework.integration:spring-integration-bom:$springIntegrationVersion"
mavenBom "org.springframework:spring-framework-bom:$springVersion"
mavenBom "com.fasterxml.jackson:jackson-bom:$jacksonVersion"
}
}
// dependencies that are common across all java projects
dependencies {
testCompile("junit:junit:$junitVersion") {
exclude group: 'org.hamcrest'
}
testCompile "org.hamcrest:hamcrest-library:$hamcrestVersion"
testCompile("org.mockito:mockito-core:$mockitoVersion") {
exclude group: 'org.hamcrest'
}
testCompile 'org.springframework.integration:spring-integration-test'
}
configurations {
all*.exclude group: 'com.fasterxml.jackson.module', module: 'jackson-module-kotlin'
}
// enable all compiler warnings; individual projects may customize further
ext.xLintArg = '-Xlint:all,-options,-processing'
[compileJava, compileTestJava]*.options*.compilerArgs = [xLintArg]
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
html.enabled false
xml.destination file("${buildDir}/reports/jacoco/test/jacocoTestReport.xml")
}
}
test {
// suppress all console output during testing unless running `gradle -i`
logging.captureStandardOutput(LogLevel.INFO)
jacoco {
destinationFile = file("$buildDir/jacoco.exec")
}
if (System.properties['sonar.host.url']) {
finalizedBy jacocoTestReport
}
}
}
task cleanTarget(type: Delete) {
delete 'target'
}
clean.dependsOn cleanTarget
}
project('advanced-testing-examples') {
description = 'Advanced Testing Examples'
dependencies {
compile "javax.jms:javax.jms-api:$jmsApiVersion"
compile 'org.springframework.integration:spring-integration-jms'
compile 'org.springframework.integration:spring-integration-groovy'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('dynamic-ftp') {
description = 'Dynamic FTP Demo'
dependencies {
compile 'org.springframework.integration:spring-integration-ftp'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('cafe-si') {
description = 'Cafe - Pure Spring Integration'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.cafe.xml.CafeDemoApp'
dependencies {
compile 'org.springframework.integration:spring-integration-stream'
compile 'com.fasterxml.jackson.core:jackson-databind'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('cafe-amqp') {
description = 'Cafe - With AMQP Message Broker'
dependencies {
compile project(':cafe-si')
compile 'org.springframework.integration:spring-integration-amqp'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('cafe-jms') {
description = 'Cafe - With JMS Message Broker'
dependencies {
compile project(':cafe-si')
compile "org.apache.activemq:activemq-broker:$activeMqVersion"
compile("org.apache.activemq:activemq-kahadb-store:$activeMqVersion") {
exclude group: "org.springframework"
}
compile 'org.springframework.integration:spring-integration-jms'
compile "javax.jms:javax.jms-api:$jmsApiVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('cafe-scripted') {
description = 'Cafe Sample (Scripted Implementation)'
dependencies {
compile 'org.springframework.integration:spring-integration-stream'
compile 'org.springframework.integration:spring-integration-groovy'
compile 'org.springframework.integration:spring-integration-rmi'
compile 'org.springframework.integration:spring-integration-jmx'
compile "org.jruby:jruby-complete:$jrubyVersion"
compile "org.python:jython-standalone:$jythonVersion"
compile "org.codehaus.groovy:groovy-all:$groovyVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
task runCafeDemoApp(type: JavaExec) {
main 'org.springframework.integration.samples.cafe.demo.CafeDemoApp'
args project.hasProperty('lang') ? project.lang : ''
classpath = sourceSets.main.runtimeClasspath
}
task runControlBus(type: JavaExec) {
main 'org.springframework.integration.samples.cafe.demo.ControlBusMain'
classpath = sourceSets.main.runtimeClasspath
}
}
project('loan-broker') {
description = 'Loan Broker Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.loanbroker.demo.LoanBrokerDemo'
dependencies {
compile 'org.springframework.integration:spring-integration-ip'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
task runLoanBrokerSharkDetectorDemo(type: JavaExec) {
main 'org.springframework.integration.samples.loanbroker.demo.LoanBrokerSharkDetectorDemo'
classpath = sourceSets.main.runtimeClasspath
}
}
project('loanshark') {
description = 'Loan Shark Sample'
apply plugin: 'war'
apply plugin: 'org.gretty'
apply plugin: 'eclipse-wtp'
dependencies {
compile 'org.springframework.integration:spring-integration-ip'
compile 'org.springframework:spring-webmvc'
compile 'org.springframework:spring-orm'
compile 'org.springframework:spring-aop'
compile 'org.springframework:spring-aspects'
compile "org.aspectj:aspectjtools:$aspectjVersion"
compile 'org.springframework:spring-jdbc'
compile 'org.springframework:spring-tx'
compile 'org.springframework:spring-context'
compile "commons-fileupload:commons-fileupload:$commonsFileUploadVersion"
compile "org.apache.commons:commons-dbcp2:$commonsDbcpVersion"
compile "commons-digester:commons-digester:$commonsDigesterVersion"
compile "commons-pool:commons-pool:$commonsPoolVersion"
compile "org.apache.tiles:tiles-jsp:$tilesJspVersion"
compile "joda-time:joda-time:$jodaTimeVersion"
compile "javax.transaction:jta:$jtaVersion"
compile "org.hsqldb:hsqldb:$hsqldbVersion"
compile "net.sf.flexjson:flexjson:$flexjsonVersion"
compile "javax.validation:validation-api:$validationApiVersion"
compile "org.hibernate:hibernate-validator:$hibernateValidatorVersion"
compile "org.eclipse.persistence:javax.persistence:$jpaApiVersion"
compile "org.hibernate:hibernate-entitymanager:$hibernateVersion"
compile "org.springframework.webflow:spring-js:$springWebFlowVersion"
compile "org.slf4j:slf4j-api:$slf4jVersion"
runtime "org.apache.logging.log4j:log4j-core:$log4jVersion"
runtime "org.slf4j:slf4j-log4j12:$slf4jVersion"
runtime "org.slf4j:jcl-over-slf4j:$slf4jVersion"
}
}
project('amqp') {
description = 'AMQP Basic Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-stream'
compile 'org.springframework.integration:spring-integration-amqp'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
runtime "org.slf4j:slf4j-jcl:$slf4jVersion"
}
task runSimple(type: JavaExec) {
main 'org.springframework.integration.samples.amqp.SampleSimple'
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
// useful for debugging the GradleWorkerMain
// jvmArgs "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000"
}
task runPubConfirmsReturns(type: JavaExec) {
main 'org.springframework.integration.samples.amqp.SamplePubConfirmsReturns'
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
// useful for debugging the GradleWorkerMain
// jvmArgs "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000"
}
}
project('barrier') {
description = 'Barrier Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.boot:spring-boot-starter-amqp'
compile 'org.springframework.integration:spring-integration-amqp'
compile 'org.springframework.integration:spring-integration-http'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.barrier.Application'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.barrier.Application'
classpath = sourceSets.main.runtimeClasspath
}
}
project('control-bus') {
description = 'Control Bus Basic Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-core'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('enricher') {
description = 'Enricher Basic Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.enricher.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-core'
compile "com.h2database:h2:$h2Version"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('feed') {
description = 'Feed (RSS/ATOM) Basic Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-feed'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('file') {
description = 'File Copy Basic Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-file'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('ftp') {
description = 'FTP Basic Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-ftp'
compile "commons-io:commons-io:$commonsIoVersion"
compile "org.apache.ftpserver:ftpserver-core:$ftpServerVersion"
compile "org.slf4j:slf4j-api:$slf4jVersion"
runtime "org.slf4j:slf4j-log4j12:$slf4jVersion"
testCompile "org.apache.logging.log4j:log4j-core:$log4jVersion"
testCompile 'org.springframework.integration:spring-integration-test'
}
test {
include '**/TestSuite*'
}
}
project('helloworld') {
description = 'Hello World Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-core'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
task runHelloWorldApp(type: JavaExec) {
main 'org.springframework.integration.samples.helloworld.HelloWorldApp'
classpath = sourceSets.main.runtimeClasspath
}
task runPollerApp(type: JavaExec) {
main 'org.springframework.integration.samples.helloworld.PollerApp'
classpath = sourceSets.main.runtimeClasspath
}
}
project('http') {
description = 'HTTP Sample'
apply plugin: 'war'
apply plugin: 'application'
apply plugin: 'org.gretty'
apply plugin: 'eclipse-wtp'
mainClassName = 'org.springframework.integration.samples.http.HttpClientDemo'
dependencies {
compile 'org.springframework.integration:spring-integration-http'
compile 'org.springframework.integration:spring-integration-mail'
compile 'org.springframework:spring-webmvc'
compile "commons-fileupload:commons-fileupload:$commonsFileUploadVersion"
compile "commons-io:commons-io:$commonsIoVersion"
compile "jakarta.mail:jakarta.mail-api:$javaxMailVersion"
compile "com.sun.mail:imap:$javaxMailVersion"
compile "com.sun.mail:jakarta.mail:$javaxMailVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
/*project('splunk') {
description = 'Splunk Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-core'
compile "org.springframework.integration:spring-integration-splunk:$springIntegrationSplunkVersion"
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.splunk.Application'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.splunk.Application'
classpath = sourceSets.main.runtimeClasspath
}
}*/
project('kafka') {
description = 'Apache Kafka Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-integration'
compile ('org.springframework.integration:spring-integration-kafka') {
exclude group: 'org.slf4j'
}
compile 'org.springframework.integration:spring-integration-core'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.kafka.Application'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.kafka.Application'
classpath = sourceSets.main.runtimeClasspath
}
}
project('mqtt') {
description = 'MQTT Basic Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-stream'
compile 'org.springframework.integration:spring-integration-mqtt'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile "org.springframework.integration:spring-integration-test"
}
springBoot {
mainClassName = 'org.springframework.integration.samples.mqtt.Application'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.mqtt.Application'
classpath = sourceSets.main.runtimeClasspath
}
tasks.withType(JavaExec) {
standardInput = System.in
}
}
project('si4demo') {
description = 'Java Configuration/DSL Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-mail'
compile "org.springframework.integration:spring-integration-social-twitter:$springIntegrationSocialTwiterVersion"
compile 'org.springframework.integration:spring-integration-http'
compile 'org.springframework.integration:spring-integration-ip'
compile "jakarta.mail:jakarta.mail-api:$javaxMailVersion"
compile "com.sun.mail:imap:$javaxMailVersion"
compile "com.sun.mail:jakarta.mail:$javaxMailVersion"
compile 'com.rometools:rome:1.5.0'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.si4demo.dsl.Application'
}
tasks.withType(JavaExec) {
standardInput = System.in
}
}
project('cafe-dsl') {
description = 'Java DSL Cafe Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile project(":cafe-si")
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-core'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.dsl.cafe.lambda.Application'
}
tasks.withType(JavaExec) {
standardInput = System.in
}
}
project('jdbc') {
description = 'JDBC Basic Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.jdbc.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-jdbc'
compile "com.h2database:h2:$h2Version"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('jms') {
description = 'JMS Basic Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.jms.Main'
dependencies {
compile "javax.jms:javax.jms-api:$jmsApiVersion"
compile 'org.springframework.integration:spring-integration-jms'
compile 'org.springframework.integration:spring-integration-stream'
compile "org.apache.activemq:activemq-broker:$activeMqVersion"
compile("org.apache.activemq:activemq-kahadb-store:$activeMqVersion") {
exclude group: "org.springframework"
}
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
testCompile 'org.springframework.integration:spring-integration-test'
}
}
project('jmx') {
description = 'JMX Basic Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-jmx'
compile 'org.springframework.integration:spring-integration-stream'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('jpa') {
description = 'JPA Basic Sample'
apply plugin: 'application'
apply plugin: 'org.springframework.boot'
mainClassName = 'org.springframework.integration.samples.jpa.Main'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.springframework.integration:spring-integration-jpa'
compile "com.h2database:h2:$h2Version"
runtime 'org.springframework:spring-instrument'
runtime "org.hibernate.javax.persistence:hibernate-jpa-2.1-api:$jpa21ApiVersion"
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
tasks.withType(JavaExec) {
standardInput = System.in
}
}
project('mail') {
description = 'Mail (IMAP + POP3) Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-mail'
compile 'org.springframework:spring-context'
compile "jakarta.mail:jakarta.mail-api:$javaxMailVersion"
compile "com.sun.mail:imap:$javaxMailVersion"
compile "com.sun.mail:jakarta.mail:$javaxMailVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
task runGmailInboundPop3AdapterTestApp(type: JavaExec) {
main 'org.springframework.integration.samples.mail.imapidle.GmailInboundPop3AdapterTestApp'
classpath = sourceSets.main.runtimeClasspath
}
task runGmailInboundImapIdleAdapterTestApp(type: JavaExec) {
main 'org.springframework.integration.samples.mail.imapidle.GmailInboundImapIdleAdapterTestApp'
classpath = sourceSets.main.runtimeClasspath
}
}
project('mongodb') {
description = 'MongoDb Basic Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-mongodb'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
compile "org.mongodb:mongodb-driver-sync:$mongoDriverVersion"
}
task runMongoDbInboundAdapterDemo(type: JavaExec) {
main 'org.springframework.integration.samples.mongodb.inbound.MongoDbInboundAdapterDemo'
classpath = sourceSets.main.runtimeClasspath
}
task runMongoDbOutboundAdapterDemo(type: JavaExec) {
main 'org.springframework.integration.samples.mongodb.inbound.MongoDbOutboundAdapterDemo'
classpath = sourceSets.main.runtimeClasspath
}
}
project('oddeven') {
description = 'Odd-Even Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-core'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
task runCronOddEvenDemo(type: JavaExec) {
main 'org.springframework.integration.samples.oddeven.CronOddEvenDemo'
classpath = sourceSets.main.runtimeClasspath
}
task runIntervalOddEvenDemoTestApp(type: JavaExec) {
main 'org.springframework.integration.samples.oddeven.IntervalOddEvenDemoTestApp'
classpath = sourceSets.main.runtimeClasspath
}
}
project('quote') {
description = 'Quote Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-stream'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('sftp') {
description = 'SFTP Basic Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-sftp'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
testCompile "org.apache.sshd:sshd-sftp:$apacheSshdVersion"
}
}
project('tcp-amqp') {
description = 'TCP-AMQP Basic Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.tcpamqp.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-amqp'
compile 'org.springframework.integration:spring-integration-ip'
compile "org.slf4j:slf4j-api:$slf4jVersion"
runtime "org.apache.logging.log4j:log4j-core:$log4jVersion"
runtime "org.slf4j:slf4j-log4j12:$slf4jVersion"
}
}
project('tcp-broadcast') {
description = 'TCP Client Broadcast Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-ip'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.tcpbroadcast.TcpBroadcastApplication'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.tcpbroadcast.TcpBroadcastApplication'
classpath = sourceSets.main.runtimeClasspath
}
}
project('tcp-client-server') {
description = 'TCP Client Server Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.tcpclientserver.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-ip'
compile "commons-lang:commons-lang:$commonsLangVersion"
compile 'org.springframework.integration:spring-integration-test'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('testcontainers-rabbitmq') {
description = 'Testcontainers RabbitMQ Sample'
apply plugin: 'org.springframework.boot'
springBoot {
mainClassName = 'org.springframework.integration.samples.testcontainersrabbitmq.TestcontainersRabbitmqApplication'
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-amqp'
compile 'org.springframework.boot:spring-boot-starter-json'
testCompile('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testCompile 'org.springframework.integration:spring-integration-test'
testCompile 'org.springframework.amqp:spring-rabbit-test'
testCompile 'org.springframework.cloud:spring-cloud-starter'
testCompile "org.testcontainers:junit-jupiter:$testcontainersVersion"
testCompile 'com.playtika.testcontainers:embedded-rabbitmq:1.42'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion"
}
}
test {
useJUnitPlatform()
}
}
project('testing-examples') {
description = 'Testing Examples'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.testing.externalgateway.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-file'
compile 'org.springframework.integration:spring-integration-http'
compile 'org.springframework.integration:spring-integration-ws'
compile 'org.springframework:spring-webmvc'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
testCompile 'org.springframework.integration:spring-integration-test'
}
}
project('twitter') {
description = 'Twitter Basic Sample'
dependencies {
compile "org.springframework.integration:spring-integration-social-twitter:$springIntegrationSocialTwiterVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
test {
exclude '**/*Sample*'
}
}
project('ws-inbound-gateway') {
description = 'WS Inbound Gateway Sample'
apply plugin: 'war'
apply plugin: 'org.gretty'
apply plugin: 'eclipse-wtp'
dependencies {
compile 'org.springframework.integration:spring-integration-xml'
compile 'org.springframework.integration:spring-integration-ws'
compile 'org.springframework:spring-webmvc'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
test {
exclude '**/InContainerTests*'
}
}
project('ws-outbound-gateway') {
description = 'WS Outbound Gateway Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.ws.WebServiceDemoTestApp'
dependencies {
compile 'org.springframework.integration:spring-integration-stream'
compile 'org.springframework.integration:spring-integration-ws'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('xml') {
description = 'XML Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.xml.BookOrderProcessingTestApp'
dependencies {
compile 'org.springframework.integration:spring-integration-xml'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('xmpp') {
description = 'XMPP Basic Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-xmpp'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
test {
exclude '**/*Sample*'
}
}
project('async-gateway') {
description = 'Async Gateway Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-core'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('dynamic-poller') {
description = 'Dynamic Poller Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.poller.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-core'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('errorhandling') {
description = 'Error Handling Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-stream'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('file-processing') {
description = 'File Processing Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-file'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('mail-attachments') {
description = 'Mail Attachment Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.mailattachments.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-mail'
compile 'org.springframework.integration:spring-integration-file'
compile "jakarta.mail:jakarta.mail-api:$javaxMailVersion"
compile "com.sun.mail:imap:$javaxMailVersion"
compile "com.sun.mail:jakarta.mail:$javaxMailVersion"
compile "commons-io:commons-io:$commonsIoVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
testCompile 'org.springframework.integration:spring-integration-test'
testCompile "org.subethamail:subethasmtp-wiser:$subethasmtpVersion"
}
}
project('monitoring') {
description = 'Monitoring Application'
apply plugin: 'war'
apply plugin: 'org.gretty'
apply plugin: 'application'
apply plugin: 'eclipse-wtp'
mainClassName = 'org.springintegration.SpringIntegrationTest'
dependencies {
compile 'org.springframework.integration:spring-integration-jmx'
compile "org.springframework.integration:spring-integration-social-twitter:$springIntegrationSocialTwiterVersion"
compile 'org.springframework.integration:spring-integration-groovy'
compile 'org.springframework:spring-webmvc'
compile "javax.servlet:jstl:$jstlVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('multipart-http') {
description = 'HTTP Multipart Demo'
apply plugin: 'war'
apply plugin: 'org.gretty'
apply plugin: 'eclipse-wtp'
dependencies {
compile 'org.springframework.integration:spring-integration-http'
compile 'org.springframework:spring-webmvc'
compile 'com.fasterxml.jackson.core:jackson-databind'
compile "commons-fileupload:commons-fileupload:$commonsFileUploadVersion"
compile "commons-io:commons-io:$commonsIoVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('rest-http') {
description = 'Spring Integration Rest HTTP Path Usage Demo'
apply plugin: 'war'
apply plugin: 'org.gretty'
apply plugin: 'eclipse-wtp'
dependencies {
compile 'org.springframework.integration:spring-integration-http'
compile 'org.springframework:spring-webmvc'
compile 'org.springframework:spring-oxm'
compile 'org.springframework:spring-tx'
compile 'org.springframework:spring-jdbc'
compile 'org.springframework:spring-context'
compile 'org.springframework:spring-aop'
compile 'com.fasterxml.jackson.core:jackson-databind'
compile "org.springframework.security:spring-security-web:$springSecurityVersion"
compile "org.springframework.security:spring-security-config:$springSecurityVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
compile "com.sun.xml.bind:jaxb-impl:$jaxbVersion"
}
test {
exclude '**/RestHttpClientTest*'
}
}
project('retry-and-more') {
description = 'Retry and More Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-stream'
compile 'org.springframework.integration:spring-integration-amqp'
compile 'org.springframework.integration:spring-integration-ftp'
compile 'org.springframework.integration:spring-integration-file'
compile("org.mockito:mockito-core:$mockitoVersion") {
exclude group: 'org.hamcrest'
}
compile "org.hamcrest:hamcrest-library:$hamcrestVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
task runCircuitBreakerDemo(type: JavaExec) {
main 'org.springframework.integration.samples.advice.CircuitBreakerDemo'
classpath = sourceSets.main.runtimeClasspath
}
task runFileTransferDeleteAfterSuccessDemo(type: JavaExec) {
main 'org.springframework.integration.samples.advice.FileTransferDeleteAfterSuccessDemo'
classpath = sourceSets.main.runtimeClasspath
}
task runFileTransferRenameAfterFailureDemo(type: JavaExec) {
main 'org.springframework.integration.samples.advice.FileTransferRenameAfterFailureDemo'
classpath = sourceSets.main.runtimeClasspath
}
task runStatefulRetryDemo(type: JavaExec) {
main 'org.springframework.integration.samples.advice.StatefulRetryDemo'
classpath = sourceSets.main.runtimeClasspath
}
task runStatelessRetryDemo(type: JavaExec) {
main 'org.springframework.integration.samples.advice.StatelessRetryDemo'
classpath = sourceSets.main.runtimeClasspath
}
}
project('splitter-aggregator-reaper') {
description = 'Splitter-Aggregator-Reaper Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.splitteraggregator.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-core'
compile "javax.inject:javax.inject:$javaxInjectVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('stored-procedures-derby') {
description = 'Derby Stored Procedures Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.storedprocedure.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-jdbc'
compile "org.apache.derby:derby:$derbyVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('stored-procedures-oracle') {
description = 'Oracle Stored Procedures Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.storedprocedure.Main'
repositories {
mavenLocal() //Oracle JDBC Driver
}
dependencies {
compile 'org.springframework.integration:spring-integration-jdbc'
compile "com.oracle.ojdbc:ojdbc8:$oracleDriverVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
test {
exclude '**/StringConversionServiceTest*'
}
}
project('stored-procedures-ms') {
description = 'MS SQLServer Stored Procedures Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.storedprocedure.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-jdbc'
compile "net.sourceforge.jtds:jtds:$jtdsVersion"
compile "c3p0:c3p0:$c3p0Version"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
test {
exclude '**/StringConversionServiceTest*'
}
}
project('stored-procedures-postgresql') {
description = 'PostgreSQL Stored Procedures Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.storedprocedure.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-jdbc'
compile "org.postgresql:postgresql:$postgresVersion"
compile "org.apache.commons:commons-dbcp2:$commonsDbcpVersion"
compile "commons-pool:commons-pool:$commonsPoolVersion"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('tcp-async-bi-directional') {
description = 'Bi-Directional TCP Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-integration'
compile "org.springframework.integration:spring-integration-ip"
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile "org.springframework.integration:spring-integration-test"
}
springBoot {
mainClassName = 'org.springframework.integration.samples.tcpasyncbi.TcpAsyncBiDirectionalApplication'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.tcpasyncbi.TcpAsyncBiDirectionalApplication'
classpath = sourceSets.main.runtimeClasspath
}
test {
useJUnitPlatform()
}
}
project('tcp-client-server-multiplex') {
description = 'TCP Client Server Multiplexing Sample'
dependencies {
compile 'org.springframework.integration:spring-integration-ip'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
testCompile 'org.springframework.integration:spring-integration-test'
}
}
project('travel') {
description = 'Travel Services Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.travel.Main'
dependencies {
compile 'org.springframework.integration:spring-integration-ws'
compile 'org.springframework.integration:spring-integration-http'
compile 'org.springframework:spring-web'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('tx-synch') {
description = 'Transaction Synchronization Sample'
apply plugin: 'application'
mainClassName = 'org.springframework.integration.samples.advice.TransactionSynchronizationDemo'
dependencies {
compile 'org.springframework.integration:spring-integration-jdbc'
compile 'org.springframework.integration:spring-integration-file'
compile "com.h2database:h2:$h2Version"
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
}
}
project('web-sockets') {
description = 'Web Sockets Basic Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-websocket'
compile "org.springframework.integration:spring-integration-websocket"
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.websocket.standard.server.Application'
}
tasks.withType(JavaExec) {
standardInput = System.in
}
}
project('stomp-chat') {
description = 'Web Sockets Stomp Chat Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-websocket'
compile 'org.springframework.integration:spring-integration-websocket'
compile 'org.springframework.integration:spring-integration-event'
compile 'org.springframework.integration:spring-integration-groovy'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.chat.stomp.server.Application'
}
tasks.withType(JavaExec) {
standardInput = System.in
}
}
project('kafka-dsl') {
description = 'Java DSL Kafka Sample'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-core'
compile 'org.springframework.integration:spring-integration-kafka'
compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.dsl.kafka.Application'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.dsl.kafka.Application'
classpath = sourceSets.main.runtimeClasspath
}
tasks.withType(JavaExec) {
standardInput = System.in
}
}
project('file-split-ftp') {
description = 'File Split FTP'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-ftp'
compile 'org.springframework.integration:spring-integration-http'
compile 'org.springframework.integration:spring-integration-mail'
compile "jakarta.mail:jakarta.mail-api:$javaxMailVersion"
compile "com.sun.mail:imap:$javaxMailVersion"
compile "com.sun.mail:jakarta.mail:$javaxMailVersion"
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'org.springframework.integration:spring-integration-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.filesplit.Application'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.filesplit.Application'
classpath = sourceSets.main.runtimeClasspath
}
}
project('dynamic-tcp-client') {
description = 'Dynamic TCP Client'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-ip'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.dynamictcp.DynamicTcpClientApplication'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.dynamictcp.DynamicTcpClientApplication'
classpath = sourceSets.main.runtimeClasspath
}
}
project('tcp-with-headers') {
description = 'TCP Send/Receive with headers'
apply plugin: 'org.springframework.boot'
dependencies {
compile 'org.springframework.boot:spring-boot-starter-integration'
compile 'org.springframework.integration:spring-integration-ip'
compile 'com.fasterxml.jackson.core:jackson-databind'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
springBoot {
mainClassName = 'org.springframework.integration.samples.tcpheaders.TcpWithHeadersApplication'
}
task run(type: JavaExec) {
main 'org.springframework.integration.samples.tcpheaders.TcpWithHeadersApplication'
classpath = sourceSets.main.runtimeClasspath
}
tasks.withType(JavaExec) {
standardInput = System.in
}
}
sonarqube {
properties {
property 'sonar.links.homepage', linkHomepage
property 'sonar.links.ci', linkCi
property 'sonar.links.issue', linkIssue
property 'sonar.links.scm', linkScmUrl
property 'sonar.links.scm_dev', linkScmDevConnection
}
}

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/wupper/spring-integration-samples.git
git@gitee.com:wupper/spring-integration-samples.git
wupper
spring-integration-samples
spring-integration-samples
master

Search