activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bahaa <bah...@kn-it.com>
Subject STOMP/Websockets and CORS
Date Mon, 07 Mar 2016 16:20:19 GMT
Hi 

 i'm facing issue that  cross-domain requests to ActiveMQ against the Jetty
server is Allowed .
 i tried this filter but  still able to connect to  ActiveMQ  through
another machine
 <filter>
   <filter-name>cross-origin</filter-name>
   <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>
   <init-param>
       <param-name>allowedOrigins</param-name>
       <param-value>http://localhost:61614</param-value>
   </init-param>
   <init-param>
       <param-name>allowedMethods</param-name>
       <param-value>GET,PUT,HEAD,OPTIONS</param-value>
   </init-param>
   <init-param>
       <param-name>allowedHeaders</param-name>
       <param-value>*</param-value>
   </init-param>
 </filter>
 <filter-mapping>
     <filter-name>cross-origin</filter-name>
     <url-pattern>/*</url-pattern>
 </filter-mapping>



--
View this message in context: http://activemq.2283324.n4.nabble.com/STOMP-Websockets-and-CORS-tp4708985.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message