310.6. Spring Boot Auto-Configuration


组件支持 38 选项,如下所列。

Expand
Name描述默认值类型

camel.component.smpp.configuration.address-range

您可以为 SmppConsumer 指定地址范围,如 SMPP 3.4 规范的 5.2.7 部分中定义。SmppConsumer 仅接收来自此范围内的地址(MSISDN 或 IP 地址)的 SMSC 的消息。

 

字符串

camel.component.smpp.configuration.alphabet

根据 SMPP 3.4 规范定义数据的编码,第 5.2.19. 0: SMSC Default Alphabet 4: 8 bit Alphabet 8: UCS2 Alphabet

 

byte

camel.component.smpp.configuration.data-coding

根据 SMPP 3.4 规范定义数据编码,第 5.2.19 节。数据编码示例为:0: SMSC Default Alphabet 3:la 1 (ISO-8859-1) 4: Octet unspecified (8-bit binary) 8: UCS2 (ISO/IEC-10646) 13: Extended Kanji JIS (X 0212-1990)

 

byte

camel.component.smpp.configuration.dest-addr

定义目标 SME 地址。对于移动终止的消息,这是接收者 MS 的目录号。仅适用于 SubmitSm、SubmitMulti、CancelSm 和 DataSm。

1717

字符串

camel.component.smpp.configuration.dest-addr-npi

定义在 SME 目标地址参数中使用的数字类型(TON)。仅适用于 SubmitSm、SubmitMulti、CancelSm 和 DataSm。以下 NPI 值被定义:0: Unknown 1: ISDN (E163/E164) 2: Data (X.121) 3: Telex (F.69) 6: Land mobile (E.212) 8: National 9: Private 10: ERMES 13: Internet (IP) 18: WAP Client Id (to be defined by WAPum)

 

byte

camel.component.smpp.configuration.dest-addr-ton

定义在 SME 目标地址参数中使用的数字类型(TON)。仅适用于 SubmitSm、SubmitMulti、CancelSm 和 DataSm。以下 TON 值已定义: 0: Unknown 1: International 2: National 3: National 3: Network Specific 4: Subscriber Number 5: Alphanumeric 6: Abbreviated

 

byte

camel.component.smpp.configuration.encoding

定义简短消息用户数据的编码方案。仅适用于 SubmitSm、replaceSm 和 SubmitMulti。

ISO-8859-1

字符串

camel.component.smpp.configuration.enquire-link-timer

定义自信检查之间的间隔(以毫秒为单位)。信任检查用于测试 ESME 和 SMSC 之间的通信路径。

5000

整数

camel.component.smpp.configuration.host

要使用 SMSC 服务器的主机名。

localhost

字符串

camel.component.smpp.configuration.http-proxy-host

如果您需要通过 HTTP 代理隧道 SMPP,请将此属性设置为 HTTP 代理的主机名或 ip 地址。

 

字符串

camel.component.smpp.configuration.http-proxy-password

如果您的 HTTP 代理需要基本身份验证,请将此属性设置为 HTTP 代理所需的密码。

 

字符串

camel.component.smpp.configuration.http-proxy-port

如果您需要通过 HTTP 代理隧道 SMPP,请将此属性设置为 HTTP 代理的端口。

3128

整数

camel.component.smpp.configuration.http-proxy-username

如果您的 HTTP 代理需要基本身份验证,请将此属性设置为 HTTP 代理所需的用户名。

 

字符串

camel.component.smpp.configuration.initial-reconnect-delay

在连接丢失后,在 consumer/producer 尝试重新连接到 SMSC 后定义初始延迟(毫秒)。

5000

Long

camel.component.smpp.configuration.lazy-session-creation

可以在 Camel producer 启动时使用 SMSC,则会话可能会被创建来避免异常。Camel 将检查第一个交换的消息标头 'CamelSmppSystemId' 和 'CamelSmppPassword'。如果存在,Camel 将使用这些数据连接到 SMSC。

false

布尔值

camel.component.smpp.configuration.max-reconnect

定义在 SMSC 返回负绑定响应时尝试重新连接到 SMSC 的最大次数

2147483647

整数

camel.component.smpp.configuration.numbering-plan-indicator

定义要在 SME 中使用的数字计划指示符(NPI)。以下 NPI 值被定义:0: Unknown 1: ISDN (E163/E164) 2: Data (X.121) 3: Telex (F.69) 6: Land mobile (E.212) 8: National 9: Private 10: ERMES 13: Internet (IP) 18: WAP Client Id (to be defined by WAPum)

 

byte

camel.component.smpp.configuration.password

连接到 SMSC 服务器的密码。

 

字符串

camel.component.smpp.configuration.port

要使用的 SMSC 服务器的端口号。

2775

整数

camel.component.smpp.configuration.priority-flag

允许原始 SME 将优先级级别分配给简短消息。仅适用于 SubmitSm 和 SubmitMulti。支持四个优先级级别:0: Level 0 (最低)优先级 1: Level 1 priority 2: Level 2 priority 3: Level 3: Level 3 (最高)优先级

 

byte

camel.component.smpp.configuration.protocol-id

协议 ID

 

byte

camel.component.smpp.configuration.proxy-headers

这些标头将在建立连接时传递给代理服务器。

 

Map

camel.component.smpp.configuration.reconnect-delay

如果与 SMSC 的连接丢失并且之前没有成功,定义重新尝试之间的间隔(毫秒)。

5000

Long

camel.component.smpp.configuration.registered-delivery

用于请求 SMSC 交付接收和/或 SME 源自确认。定义了以下值: 0: No SMSC delivery receipt.1:SMSC 发送接收请求最终交付结果是成功还是失败。2: SMSC 交付结果请求发送失败。

 

byte

camel.component.smpp.configuration.replace-if-present-flag

用于请求 SMSC 替换之前提交的消息,但仍然处于等待状态的发送。SMSC 将替换源地址、目标地址和服务类型与新消息中的相同字段匹配的现有消息。如果定义了 present 标记值,则以下替换: 0: Don't replace 1: replace

 

byte

camel.component.smpp.configuration.service-type

service type 参数可用于指示与消息关联的 SMS Application 服务。以下通用 service_types 定义了:CMT: Cellular Messaging CPT: Cellular Paging VMN: Voice Mail Notification VMA: Voice Mail Alerting WAP: Wireless Application Protocol USSD: Unstructured Supplementary Services Data

CMT

字符串

camel.component.smpp.configuration.session-state-listener

您可以引用 Registry 中的 org.jsmpp.session.SessionStateListener,以在会话状态更改时接收回调。

 

SessionStateListener

camel.component.smpp.configuration.source-addr

定义源自此消息的 SME (Short Message Entity)的地址。

1616

字符串

camel.component.smpp.configuration.source-addr-npi

定义在 SME 原始器地址参数中使用的数字计划指示符(NPI)。以下 NPI 值被定义:0: Unknown 1: ISDN (E163/E164) 2: Data (X.121) 3: Telex (F.69) 6: Land mobile (E.212) 8: National 9: Private 10: ERMES 13: Internet (IP) 18: WAP Client Id (to be defined by WAPum)

 

byte

camel.component.smpp.configuration.source-addr-ton

定义在 SME 原始器地址参数中使用的数字类型(TON)。以下 TON 值已定义: 0: Unknown 1: International 2: National 3: National 3: Network Specific 4: Subscriber Number 5: Alphanumeric 6: Abbreviated

 

byte

camel.component.smpp.configuration.splitting-policy

您可以为处理长消息指定一个策略:ALLOW - 默认,长消息被分成 140 字节,每个消息 TRUNCATE - 长消息被分割,并将第一个片段发送到 SMSC。有些载体会丢弃随后的片段,因此这可减少 SMPP 连接发送部分的负载,而这些片段永远不会发送。REJECT - 如果需要分割消息,它将被拒绝,并显示 SMPP NegativeResponseException,原因代码表示消息太长。

 

SmppSplittingPolicy

camel.component.smpp.configuration.system-id

用于连接到 SMSC 服务器的系统 ID (用户名)。

smppclient

字符串

camel.component.smpp.configuration.system-type

这个参数用于对绑定到 SMSC (最大 13 个字符)的 ESME (外部消息实体)的类型进行分类。

cp

字符串

camel.component.smpp.configuration.transaction-timer

定义在事务后允许的最大不活跃期限,之后 SMPP 实体可能假设会话不再活跃。此计时器可以在通信 SMPP 实体(即 SMSC 或 ESME)上处于活动状态。

10000

整数

camel.component.smpp.configuration.type-of-number

定义要在 SME 中使用的数字类型(TON)。以下 TON 值已定义: 0: Unknown 1: International 2: National 3: National 3: Network Specific 4: Subscriber Number 5: Alphanumeric 6: Abbreviated

 

byte

camel.component.smpp.configuration.using-s-s-l

是否使用带有 smpps 协议的 SSL

false

布尔值

camel.component.smpp.enabled

启用 smpp 组件

true

布尔值

camel.component.smpp.resolve-property-placeholders

组件是否应在启动时解析属性占位符。只有 String 类型的属性可以使用属性占位符。

true

布尔值

您可以根据需要拥有任意数量的选项。

smpp://smppclient@localhost:2775?password=password&enquireLinkTimer=3000&transactionTimer=5000&systemType=consumer
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部