Skip to content

Commit 97545a5

Browse files
committed
Revert change to OSGi R6 Property back to a property compatible with older OSGi containers
1 parent 8e494c0 commit 97545a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/servlet/OsgiGraphQLServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
@Component(
4040
service={javax.servlet.http.HttpServlet.class,javax.servlet.Servlet.class},
41-
property = {"osgi.http.whiteboard.servlet.pattern=/graphql/*", "jmx.objectname=graphql.servlet:type=graphql"}
41+
property = {"alias=/graphql", "jmx.objectname=graphql.servlet:type=graphql"}
4242
)
4343
public class OsgiGraphQLServlet extends GraphQLServlet {
4444

0 commit comments

Comments
 (0)