@ActivationConfigProperty(propertyName = "user", propertyValue = MessageConstants.INCOMING_USER),
@ActivationConfigProperty(propertyName = "password", propertyValue = MessageConstants.INCOMING_USER_PASS),
These can be configured through the deployment descriptors instead.
But we need to change these settings on runtime.
Configuring through deployment descriptors would be a "deployment" time change. Are you looking for a deployment time setting or do you really mean a runtime setting?
thanks for your reply.
On deployment time is much better than on compile time. I've found some short description about doing it with deployment descriptors but no full example and everything i tried failed.
Could you give some hints or an example?
have you somehow managed to change user/password in runtime, or is deployment time configuration the latest possible option? I am solvin the same problem, so your experience is really appreciated.