Using own mail sessions

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2011 10:49 AM
Hi,
is there another way to configure the mail session than using the spring bean? We have an existing MailSession in our application and want activiti to use this session. We cannot pass host-name, user and password to activiti, because there's no access to this information.
Thanks,
Tom
is there another way to configure the mail session than using the spring bean? We have an existing MailSession in our application and want activiti to use this session. We cannot pass host-name, user and password to activiti, because there's no access to this information.
Thanks,
Tom
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2011 04:22 AM
Currently, there is no way of using this. You could create your own JavaDelegate that uses your session, based on the email-task implementation.
see http://activiti.org/userguide/index.html#bpmnJavaServiceTask
see http://activiti.org/userguide/index.html#serviceTaskFieldInjection
see http://activiti.org/userguide/index.html#bpmnJavaServiceTask
see http://activiti.org/userguide/index.html#serviceTaskFieldInjection
