Announcement Announcement Module
No announcement yet.
PayloadRootQNameEndpointMapping and prototype AbstractMarshallingPayloadEndpoint Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • PayloadRootQNameEndpointMapping and prototype AbstractMarshallingPayloadEndpoint

    I have an end point in my webservice that is mapped to an abstract marshalling payload end point like so:

    <bean name="endpointMapping" class=" ing.PayloadRootQNameEndpointMapping">
    <property name="mappings">
    <prop key="REQUEST">myEndPoint</prop>

    <bean name="myEndPoint" class="com.packagename.MyEndPoint" scope="prototype">
    <property name="marshaller" ref="jaxb2Marshaller"/>
    <property name="unmarshaller" ref="jaxb2Marshaller"/>
    <property name="rootChainItem" ref="chainItemManager"></property>

    The rootChainItem property of the end point is a bean that also has scope prototype. When the framework receives a request it does forward it to the right end point but it does not create a new instance of the endpoint (MyEndPoint), it forwards all the requests to the same instance of MyEndPoint which is causing a threading issue in my service. Any idea why this is so?


  • #2
    can someone please answer this question. or is someone solved please let me know