powered by Jive Software

Store offline messages without Body

Hello,

Does anyone out there now how to configure OpenFire to store offline messages even if the Body of the message is empty?

We receive messages that contain device data in a custom made message which does not contain the Body tag and unfortunately the Body tag can not be added.

We currently use Ejabberd and it is working, but is no longer supported on Windows Server so we want to move to OpenFire. We have been able to confirm that everything is working except the storing of offline messages.

Any help would be greatly appreciated.

Thank you,

Myles

Actually it’s fixed in Openfire 3.9.2.

See OF-722

Thanks for the repsonse CSH, but we are using Openfire 3.9.3 and the messages are not being stored offline. Here is an example of one of the messages we receive. I have a statistics plugin installed and I can see that we are receiving packets, so maybe I asked the wrong question. Is there a way to store packets as offline messages?

<property_values xmlns="*************************" internal=“false”>

1232.5

1196

1248.2

1253.4

59.99

7.9

8.9

7.5

1022.1

21727975

167.5

4253087

28674

1008.2

21239017

28649

-0.9865

2.1

1.3

2

480.6

481.9

481.3

478.5

277.5

</property_values>

Hm, it’s hard to judge what’s happening then. Did you try to include an “dummy” element just to see if it works then?

Maybe it’s also related to the ghost session issue which was reported with 3.9.3, e.g. Openfire thinks the user is online and thefore does not store the message.

I’m unable to add the dummy element as I am unable to change the message content due to it being sent to us from a client we are working with.

I have tested sending a chat message from Spark to a user that is offline and it is working.

I don’t think that is the ghost session issue as I had this same problem with 3.9.2. I was hoping upgrade to 3.9.3 would solve my problem, which as we can see it didn’t.