0

问题在于我在 Topic 上接收 JMS 消息,并且我需要将消息结构保存到 GemFire(经典)区域 MessageStructInfo 中。

消息的结构中包含数据,例如 < messagenotification > < fieldidentifierEndDate="2014-12-24" fieldidentifierStartDate="2014-12-07" fileName="filenotification.xml" directory="../filehostdirectory" /> </messagenotification >

我需要从消息中提取字段数据并保存到 GemFire 区域。
MessageStructInfo fieldidentifierStartDate,
fieldidentifierEndDate, fileName, directory, Status - Additional (Received, Processed, Completed)

我需要这个帮助。

谢谢瑞诗

4

1 回答 1

-1

You can create object of your class, say Message (implementing com.gemstone.gemfire.DataSerializable interface), and stuff with fields extracted from the JMS message and store the object in the region. You can store. Hope this helps.

于 2015-04-10T12:23:12.390 回答