Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fuse using Spring Boot

Overview

Simple spring boot app which uses camel java dsl. When running see log for ouput. Created using maven archetype:

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
  -DarchetypeCatalog=https://maven.repository.redhat.com/ga/io/fabric8/archetypes/archetypes-catalog/2.2.0.fuse-750020-redhat-00002/archetypes-catalog-2.2.0.fuse-750020-redhat-00002-archetype-catalog.xml \
  -DarchetypeGroupId=org.jboss.fuse.fis.archetypes \
  -DarchetypeArtifactId=spring-boot-camel-archetype \
  -DarchetypeVersion=2.2.0.fuse-750020-redhat-00002
Note
For official instructions please see the fuse documentation.

Running on an OpenShift cluster

To run this in a an OpenShift custer assuming. First log into the Openshift using the CLI and create the project you want to install into then follow instructions below:

Note
Modify $MY_OPENSHIFT_PROJECT to the OpenShift project your using
oc import-image fuse-java-openshift:1.5 --from=registry.access.redhat.com/fuse7/fuse-java-openshift:1.5 --confirm
mvn clean -DskipTests fabric8:deploy -Popenshift -Dfabric8.generator.fromMode=istag -Dfabric8.generator.from=$MY_OPENSHIFT_PROJECT/fuse-java-openshift:1.5
mvn clean -DskipTests fabric8:resource fabric8:apply -Popenshift

Running the booster standalone on your machine

To run this as a standalone project on your local machine:

mvn clean package
mvn spring-boot:run

About

Simple camel spring boot application deployed to openshift4

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages