Skip to content

petrfilip/spring-boot-as2-camel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot + Apache Camel AS2 example (with added proxy)

  • RUN
java -jar 
    -Dmilos.endpoint.hostname='http://localhost:9081' 
    -Dmilos.endpoint.port='9081' 
    -Dmilos.proxy.hostname='localhost' 
    -Dmilos.proxy.port=9080 
    -Dmilos.certificate.signing='file:///path/to/signingCertificate' 
    -Dmilos.certificate.private='file:///path/to/privateKey' 
    -Dmilos.certificate.encryption='file:///path/to/encryptionCertificate' 
    -Dmilos.message.content='file:///path/to/content.xml' 
    ./as2-camel-0.0.1-SNAPSHOT.jar
  • create JAR
mvn clean package spring-boot:repackage  -Dmaven.test.skip=true
  • generate certificate
openssl req -newkey rsa:4096             
    -x509             
    -sha256             
    -days 3650             
    -nodes             
    -out example.crt             
    -keyout example.key

tst

java -jar 
-Dmilos.endpoint.hostname='tsoas2.test.prisma-capacity.cloud'
 -Dmilos.endpoint.port=443 
 -Dmilos.proxy.hostname='proxyfg.net4gas.n4g.local' 
 -Dmilos.proxy.port=8080 
 -Dmilos.message.content='file:///home/klapal-ext/test.xml' 
 -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8001 as2-camel-0.0.1-SNAPSHOT.jar

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages