-
I added ability to use custom implementation of MsgRepositoryIfc for OfflineMessages. New class should implement OfflineMsgRepositoryIfc to be able to use this class as MsgRepositoryIfc implementation for OfflineMessages processor. Name of class to use needs to be passed as
msg-repo-class
parameter of OfflineMessages processor.To use custom implementation of MsgRepositoryIfc for MessageAmp processor and Store action of AMP component you need to implement MsgRepositoryIfc and pass name of class as value of
--amp-repo-class
property frometc/init.properties
file.By default Tigase XMPP Server currently uses MessageAmp plugin and AMP component to handle processing of offline messages, so only custom implementation of MsgRepositoryIfc for MessageAmp processor may be needed.
-
Looks fine, but I cannot test the development branch.
It complains about me building with Java 1.6 as a target. If I change 'ant-definitions.xml' to have source="1.7" and target="1.7" the build fails with with lots of unknown classes or no suitable methods found. I have the following in the 'jars' folder:
$ ls jars/
derby.jar derbytools.jar groovy-all.jar mysql-connector-java.jar postgresql.jar tigase-utils-3.4.4-SNAPSHOT.jar tigase-xmltools-3.4.5-SNAPSHOT.jar
-
Robert Larsen wrote:
Looks fine, but I cannot test the development branch.
It complains about me building with Java 1.6 as a target. If I change 'ant-definitions.xml' to have source="1.7" and target="1.7" the build fails with with lots of unknown classes or no suitable methods found. I have the following in the 'jars' folder:
A while back we switched to jdk7 as a minimum version required for Tigase. We also use maven to build all projects - ant scripts haven't been updated for a while now so I would recommend switching to maven.
If this one is resolved, why do I keep getting "You have issues with due dates" mails about it?
You will keep getting them until issue is closed. Issue was resolved and assigned to you to verify and make final decision whether to get more information of close it as being done.
Type |
New Feature
|
Priority |
Normal
|
Assignee | |
RedmineID |
2067
|
Version |
tigase-server-7.0.0
|
Spent time |
0
|
I have implemented my own user repository class and it works fine.
But Tigase encounters problems related to offline messages.
Apparently MsgRepositoryImpl does its own JID to user id lookup instead of using the function that the user repository class has already implemented.
Also, even thou there is a MsgRepositoryIfc interface there is no way of providing your own since Tigase explicitly uses MsgRepositoryImpl.