Have a look at HttpWhiteboardConstants#CONTEXT_ID [1]. From that it
appears that to share the context you need to

1. Register a HttpContext as a service with service property
'contextId' set to some shared name say foo
2. Register your servlet with property contextId to 'foo'
3. Also set property 'context.shared' to true with the filter

This seems to allow sharing of the HttpContext across bundles. I have
also now updated the docs [2].

Chetan Mehrotra
[1]
https://github.com/apache/felix/blob/trunk/http/whiteboard/src/main/java/org/apache/felix/http/whiteboard/HttpWhiteboardConstants.java#L51
[2] 
http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html


Chetan Mehrotra

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to