That worked. Thanks.
That worked. Thanks.
Thank you for giving me this! That's what I need!![]()
To see more, check here:
http://www.softpedia.com/get/Office-...peg-Free.shtml
I think the manual could use more detailed information on RMI integration. Specifically, exposing existing services using RMI and consuming an RMI service (i.e. hooking up to existing code.) I think I've finally figured out how to do this, but it took a fair bit of trial and error.
______________________
electronic books online
electronic books
The code snippet on "13.2 Http Inbound Gateway"
leads to error "property 'expectReply' is not writable or has an invalid setter method"Code:<bean id="httpInbound" class="org.springframework.integration.http.inbound.HttpRequestHandlingController"> <constructor-arg value="true" /> <!-- indicates that a reply is expected --> <property name="requestChannel" ref="httpRequestChannel" /> <property name="replyChannel" ref="httpReplyChannel" /> <property name="viewName" value="jsonView" /> <property name="supportedMethodNames" > <list> <value>GET</value> <value>DELETE</value> </list> </property> <property name="expectReply" value="true" /> </bean>
The recent API shows "expectReply" may be passed as a constructor's parameters only.
P.S.
IMHO the reference manual it self looks like the set of promotional posters that shows - "Oh, we can do this, we can do that". But it does not explains "How To Do".
Last edited by anachoret; Jan 13th, 2011 at 08:32 AM.
Fixed.
That property was there as a leftover from the old implementation.
Could you provide more details as far as your last point. What do you think is missing with regard to how?
Oleg Zhurakousky
Spring Integration team
http://twitter.com/z_oleg
http://blog.springsource.com/author/ozhurakousky/
Http Inbound adapter with expect-reply set as true. Im bit unclear how this works any examples? the current samples dont use this flag.
Thanks
Srinivas
Http Inbound Adapter does not have 'expect-reply' attribute.
Internally we are using the same class HttpRequestHandlingController to construct Http Inbound Gateway and Http Inbound Adapter.
Adapters are uni-directional while gateways are bi-directional.
We simply invoke different constructor when creating Adapter or Gateway.
Hope that clarifies.
Oleg Zhurakousky
Spring Integration team
http://twitter.com/z_oleg
http://blog.springsource.com/author/ozhurakousky/
Yes Thanks for the update
16.1 Inbound Channel Adapter section has this:
Maybe should be this:Optionally this can be changed by adding a reference to requires a reference to a RowMapper instance.
Optionally this can be changed by adding a reference to a RowMapper instance.
Tony Falabella
Expanding error handling section would be great. All we are doing right now is trial and error.