实现 SourceMessage Inbox 与 AgentBus 入站闭环

This commit is contained in:
andy committed 2026-07-06 21:23:57 +08:00
1 parent 5a498635d8
commit 7e276469ef
75 files changed
+4608 -27

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
spring:
application:
name: th-hotel-server
datasource:
url: ${TH_HOTEL_DB_URL:jdbc:h2:mem:th_hotel;MODE=MySQL;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE}
username: ${TH_HOTEL_DB_USERNAME:sa}
password: ${TH_HOTEL_DB_PASSWORD:}
driver-class-name: ${TH_HOTEL_DB_DRIVER:org.h2.Driver}
flyway:
enabled: true
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
global-config:
banner: false
source-message:
original-read:
access-key: ${SOURCE_MESSAGE_ORIGINAL_READ_ACCESS_KEY:}
agentbus:
probe:
enabled: ${AGENTBUS_PROBE_ENABLED:false}
ws:
url: ${AGENTBUS_WS_URL:wss://mesh.nianxx.cn/ws}
token: ${AGENTBUS_WS_TOKEN:}
reconnect-delay: ${AGENTBUS_WS_RECONNECT_DELAY:5s}
connect-timeout: ${AGENTBUS_CONNECT_TIMEOUT:15s}
max-frame-bytes: ${AGENTBUS_MAX_FRAME_BYTES:1048576}
capture:
enabled: ${AGENTBUS_CAPTURE_ENABLED:true}
default-hotel-id: ${AGENTBUS_DEFAULT_HOTEL_ID:HOTEL-TEST}
server:
port: ${SERVER_PORT:8080}