Files
2nd/10_Wiki/Topic_Programming/From_Other/Enterprise-Service-Bus.md
T
Antigravity Agent 9148c358d0 docs(10_Wiki): 위키 전체 재구성 — Topic_* 폴더를 4개 카테고리로 통합 + 대규모 중복 제거
Topic_Agent/Topic_Blog/Topics/Topics_Biz/Topics_Meeting/Topics_Rag의 마크다운 지식 문서를
Topic_General/Topic_Programming/Topic_Graphic/Topic_Business 4개 카테고리로 재분류.

- 중복 제거: frontmatter의 status:duplicate/merged + duplicate_of/redirect_to 필드로
  자기 자신을 중복으로 선언한 리다이렉트 stub 1032개 제거, 완전 동일 내용 파일 472개 제거,
  동일 파일명·다른 내용 충돌 시 더 큰(완전한) 버전만 유지(162개 제거) — 총 1639개 중복 제거.
- 분류: 폴더 단위로 명확한 항목(AI_and_ML/Coding/Architecture 등 → Programming,
  Comfyui/Visual_Effects → Graphic, Topics_Biz/Topics_Meeting/사업 등 → Business,
  Poetic_Blog_Writing/창의성/Game_Design 등 → General)은 폴더 우선순위로,
  나머지 혼재 폴더(Topic_Agent/Topic_Blog/Topics 루트/Thinking & Reasoning/Other/UI_UX_Assets)는
  title/tags 키워드 스코어링으로 파일 단위 분류(불명확한 경우 General로 폴백).
  원본 폴더명은 "From_*" 서브폴더로 보존해 추적 가능성 유지.
- 최종 배치: Programming 2784 / General 1608 / Graphic 285 / Business 249 = 4926개 문서.
- 에이전트 운영 상태(.astra/.agent/.obsidian/sessions/memory/_company/docs/lessons/_shared/src)는
  지식 콘텐츠가 아니므로 재분류 대상에서 제외하고 원위치 유지.
- Topics/Topic_email(상위 보호 폴더 Topic_email과 파일명 100% 중복) 삭제 — 보호 폴더 자체는 미변경.
- 완전히 비게 된 Topic_Agent/Topic_Blog/Topics_Biz/Topics_Rag 폴더 제거.
2026-07-05 00:33:48 +09:00

5.0 KiB
Raw Blame History

id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
id title category status canonical_id aliases duplicate_of source_trust_level confidence_score verification_status tags raw_sources last_reinforced github_commit tech_stack
wiki-2026-0508-enterprise-service-bus Enterprise Service Bus 10_Wiki/Topics verified self
ESB
Service Bus
Integration Bus
none A 0.9 applied
architecture
integration
soa
messaging
esb
2026-05-10 pending
language framework
java apache-camel

Enterprise Service Bus

매 한 줄

"매 ESB = SOA 시대 의 integration backbone — 매 2026 의 legacy + event mesh 의 hybrid". 매 hub-and-spoke 의 anti-pattern 회피 위한 message-bus pattern. 매 modern 의 Kafka + service mesh + iPaaS (MuleSoft, Boomi) 가 ESB 의 기능 의 분산.

매 핵심

매 ESB 의 6 capabilities

  • Routing: 매 content-based, header-based.
  • Transformation: 매 XML↔JSON↔Avro, schema mapping.
  • Protocol bridging: 매 SOAP↔REST↔AMQP↔JMS↔FTP.
  • Orchestration: 매 multi-step workflow (BPEL, Camel routes).
  • Mediation: 매 versioning, throttling, security policy.
  • Monitoring: 매 audit, SLA tracking, error queues.

매 versus alternatives

  • Point-to-point: 매 N×N integration — ESB 의 N+1.
  • Hub-and-spoke: 매 single hub bottleneck — ESB 의 distributed.
  • Event mesh (modern): 매 Kafka + Schema Registry — 매 ESB 보다 throughput ↑, transformation logic 의 service-side.
  • iPaaS: 매 cloud-native ESB — 매 SaaS connector 의 thousand+.

매 응용

  1. Bank legacy mainframe ↔ digital channel integration.
  2. ERP (SAP) ↔ CRM (Salesforce) sync.
  3. B2B EDI translation (X12, EDIFACT).

💻 패턴

Apache Camel content-based router

from("jms:queue:incomingOrders")
    .choice()
        .when(jsonpath("$.priority == 'HIGH'"))
            .to("kafka:high-priority-orders")
        .when(jsonpath("$.region == 'EU'"))
            .to("amqp:eu-orders")
        .otherwise()
            .to("jms:queue:standardOrders")
    .end();

XML → JSON transformation

from("file:input/orders?include=.*\\.xml")
    .unmarshal().jacksonXml(Order.class)
    .marshal().json(JsonLibrary.Jackson)
    .to("http://api.example.com/orders");

Saga orchestration (Camel)

from("direct:placeOrder")
    .saga()
        .compensation("direct:cancelOrder")
        .timeout(java.time.Duration.ofMinutes(5))
    .to("direct:reserveInventory")
    .to("direct:chargePayment")
    .to("direct:scheduleShipment");

Dead letter channel

errorHandler(deadLetterChannel("jms:queue:dlq")
    .maximumRedeliveries(3)
    .redeliveryDelay(2000)
    .useExponentialBackOff());

Modern replacement: Kafka + KStreams

StreamsBuilder builder = new StreamsBuilder();
builder.stream("orders", Consumed.with(Serdes.String(), orderSerde))
       .filter((k, v) -> v.getAmount() > 1000)
       .mapValues(o -> enrichWithCustomer(o))
       .to("high-value-orders");

Service mesh sidecar (Istio) replacement

apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: order-routing
spec:
  http:
  - match:
    - headers:
        x-region:
          exact: EU
    route:
    - destination:
        host: order-service-eu

매 결정 기준

상황 Approach
Greenfield microservices Kafka + service mesh, ESB X
Legacy mainframe + SaaS integration iPaaS (MuleSoft, Boomi)
Heavy XML/SOAP B2B Apache Camel or MuleSoft
Event-driven architecture Kafka + Schema Registry
Complex orchestration Camel + Saga or Temporal.io

기본값: 매 2026 의 new project — Kafka + service mesh. 매 legacy integration — Camel or iPaaS. 매 traditional ESB (WSO2, Mule 3) 의 신규 도입 X.

🔗 Graph

🤖 LLM 활용

언제: 매 EIP pattern matching, 매 Camel DSL generation, 매 XSLT/XPath debugging, 매 legacy SOAP WSDL → REST OpenAPI 변환. 언제 X: 매 production routing rules 의 직접 deploy — 매 정확한 schema validation, dead-letter handling 의 review 필요. 매 transformation logic 의 round-trip test 필수.

안티패턴

  • God-ESB: 매 모든 business logic 의 ESB 의 집중 — 매 bus 의 monolith. 매 logic 의 service-side.
  • Synchronous chains: 매 ESB 의 long sync calls — 매 cascading failure. 매 async + saga.
  • No schema governance: 매 transformation 의 implicit contract — 매 producer change 시 silent break.
  • 2026 의 new ESB 도입: 매 platform team 의 maintenance cost ↑ — 매 Kafka + iPaaS 의 분산.

🧪 검증 / 중복

  • Verified (Hohpe & Woolf "Enterprise Integration Patterns" 2003, Apache Camel docs 4.x, Gartner ESB→iPaaS 의 2024 report).
  • 신뢰도 A.

🕓 Changelog

날짜 변경
2026-05-08 Phase 1
2026-05-10 Manual cleanup — Camel patterns, modern Kafka/mesh replacement, iPaaS context 추가