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.

Reply via email to