본문 바로가기 메뉴 바로가기

msna

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

msna

검색하기 폼
  • 분류 전체보기 (26)
    • leetcode medium (1)
    • leetcode easy (3)
    • IT (6)
    • today'work (13)
  • 방명록

multipleIntegrationFlow (1)
복수개의 IntegrationFlow를 설정했을 때 테스트 코드 실행시 에러가 날 때

개요 디렉토리에 파일이 생성되는 경우에 감시하는 라이브러리로써 spring-integration을 사용하고 있다. 설정 방법은 간단한데 IntegrationFlow를 반환하는 빈을 설정하면 된다. 복수개의 디렉토리를 감시하는 경우 아래와 같이 복수개로 설정하면 된다. @Bean public IntegrationFlow integrationFlow1() { return IntegrationFlow .from(Files.inboundAdapter(new File("c:/inbound1")) , e -> e.poller(Pollers.fixedDelay(1000).maxMessagesPerPoll(10))) .handle(message -> System.out.println(message.getPayload(..

IT 2024. 4. 12. 20:15
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Two Sum
  • leetcode
  • opencv로qr코드인식
  • PostgreSQL #FOR UPDATE #SKIP LOCKED
  • PostgreSQL #sequnceName
  • aws #aws region #aws credential #aws region provider #aws credential provier
  • 로그파일인덱스
  • Python #Powertools
  • logback #logstash #LoggingEventCompositeJsonEncoder #로그JSON
  • springintegration #파일감시 #디렉토리감시 #파일완료검사
  • excel table
  • AWS #X-Ray
  • spring #redis #redis-cluster
  • spring-integration
  • QR코드읽기 #ReadQRCode
  • yaml
  • json
  • Maven LF #메이븐 개행문자
  • cannotResolveSymbol
  • multipleIntegrationFlow
  • reverse integer
  • palindrome number
  • lombok #maven build #sym
  • add two numbers
  • mybatis @insert값 @update값
  • 로그테스트 #콘솔로그테스트 #System.out
  • Postgresql #MultiTruncate
  • excel to markdown
  • SnakeYAML
more
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.