That is exactly what I mean. I'm trying to figure out a way to do that, but I don't see anyway - either in the PolicyFeature or in the PolicyEngine itself.

So if anyone knows of a way.... :-)

- Dan

Sergey Beryozkin wrote:
Hi Dan

What does it mean, to apply policies to a bus ? Does it mean something like : apply policies to all the service endpoints
known to this bus or something else ?

Thanks, Sergey

----- Original Message ----- 
From: "Dan Diephouse" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, December 16, 2007 11:25 PM
Subject: Policies at the Bus level?


  
I was trying to figure out how to apply a WS-Policy globally today to 
the CXF Bus, but I'm not sure I really understand how to do it or if its 
possible. The WSPolicyFeature just seems to apply policies to 
Client/Servers.  initialize(Bus) seems to be written with the mistaken 
assumption that it is being called to initialize the WSPolicyFeature. 
But thats simply not the case - its being called to initialize global 
Bus level policies which apply to *everything*.

I'm happy to go about fixing this, but I can't seem to deduce how to use 
the PolicyEngine to enable a global policy. Any ideas?

- Dan

-- 
Dan Diephouse
MuleSource
http://mulesource.com | http://netzooid.com/blog 
    

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

  


-- 
Dan Diephouse
MuleSource
http://mulesource.com | http://netzooid.com/blog

Reply via email to