Announcement Announcement Module
Collapse
No announcement yet.
Refreshing stale proxy beans Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Refreshing stale proxy beans

    I have to refresh stale proxy beans in client after server restart. I know for RmiProxyFactoryBean we have a property called "refershStubOnConnectFailure". How do we do this for a mbean proxy client using MBeanProxyFactoryBean?

  • #2
    Refresh by loading application context

    Originally posted by praboo_p View Post
    I have to refresh stale proxy beans in client after server restart. I know for RmiProxyFactoryBean we have a property called "refershStubOnConnectFailure". How do we do this for a mbean proxy client using MBeanProxyFactoryBean?
    We had the same problem. Since there's no "refershStubOnConnectFailure" property in the MBeanProxyFactoryBean class, we're loading a special application context with a MBeanProxyFactoryBean bean before each call to the MBean. Results in loosley coupled systems and the performance is OK.

    Greetings
    Juergen

    Comment

    Working...
    X