Skip to content

Commit

Permalink
Bean issue
Browse files Browse the repository at this point in the history
  • Loading branch information
torchr89 authored and AudunSorheim committed Oct 16, 2023
1 parent ba5ae97 commit ed9816f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ import no.nav.syfo.kafka.config.aktivitetskravVurderingTopic
import no.nav.syfo.logger
import no.nav.syfo.service.AktivitetskravVurderingService
import org.apache.kafka.clients.consumer.ConsumerRecord
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.info.JavaInfo.JavaRuntimeEnvironmentInfo
import org.springframework.kafka.annotation.KafkaListener
import org.springframework.kafka.support.Acknowledgment
import org.springframework.stereotype.Component
import kotlin.system.exitProcess

@Component
class AktivitetskravVurderingListener(
val aktivitetskravVurderingService: AktivitetskravVurderingService
class AktivitetskravVurderingListener @Autowired constructor(
private val aktivitetskravVurderingService: AktivitetskravVurderingService
) {

private val log = logger()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package no.nav.syfo.service

import no.nav.syfo.logger
import org.springframework.stereotype.Service

@Service
class AktivitetskravVurderingService {

private val log = logger()
Expand Down

0 comments on commit ed9816f

Please sign in to comment.