Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xta-adapter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
eingang
xta-adapter
Commits
e8da366f
Commit
e8da366f
authored
2 months ago
by
Jan Zickermann
Browse files
Options
Downloads
Patches
Plain Diff
OZG-7491 spring: Shutdown on done
parent
c2b46ef7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
OZG-7491 pipeline: Change version format
Pipeline
#1569
skipped
Stage: publish
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/ozgcloud/eingang/xta/XtaRunner.java
+4
-0
4 additions, 0 deletions
src/main/java/de/ozgcloud/eingang/xta/XtaRunner.java
with
4 additions
and
0 deletions
src/main/java/de/ozgcloud/eingang/xta/XtaRunner.java
+
4
−
0
View file @
e8da366f
...
...
@@ -25,6 +25,7 @@ package de.ozgcloud.eingang.xta;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.annotation.Profile
;
import
org.springframework.context.event.ContextRefreshedEvent
;
import
org.springframework.stereotype.Component
;
...
...
@@ -43,11 +44,14 @@ class XtaRunner implements ApplicationListener<ContextRefreshedEvent> {
private
XtaService
service
;
@Autowired
private
SemantikAdapter
semantikAdapter
;
@Autowired
private
ConfigurableApplicationContext
context
;
@Override
public
void
onApplicationEvent
(
ContextRefreshedEvent
event
)
{
LOG
.
info
(
"Fetching XTA Messages"
);
runGetXtaMessages
();
context
.
close
();
}
void
runGetXtaMessages
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment