Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Announcements & Opportunities
Alfresco Ambassador Program
Alfresco Process Services & Activiti (BPM)
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
Pass session to service task
Question asked by
on Aug 27, 2013
on Sep 4, 2013 by frederikheremans1
Show 0 Likes
I need to notify clients from my service tasks. So I need to pass org.eclipse.jetty.websocket.common.events.WebSocketSession to service task. But it is non-serializable. How can I pass it to service task?
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Sep 4, 2013 9:35 AM
Either use a static in your code that gives access to the session or a thread-local, which is set/cleared in your request-method. Another way is to use a bean (see userguide, processEngineConfiguration <beans>) that exposes this thread-local value.
Show 0 Likes
Retrieving data ...
Process Instance started over REST are not showing
List all available process deployments and start a process instance via REST
Alfresco Labs vs Alfresco Community Edition
como manipular o conteúdo?
Deploying Alfresco Content Services Community Edition 201806 GA