Sounds like a bug then, the workaround Ben suggested might be what you need to do then.  Also I’m assuming that you’re setting concurrency in the tag, not via ActionScript.  Concurrency in 1.5 is through constant ints via code-gen, if you’re assigning in AS maybe the value is being ignored.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of Rich Tretola
Sent: Wednesday, November 30, 2005 4:25 AM
To: [email protected]
Subject: Re: [flexcoders] concurrency="last"

 

Matt,

They are 4 different methods being called on the same service.

Rich

On 11/30/05, Matt Chotin <[EMAIL PROTECTED]> wrote:

I believe concurrency should be done on an operation basis but the setting is inherited from the service you don't assign one.  The default is multiple.

 

Are you making 4 different method calls or 4 calls to the same method?  If the same method then obviously a setting of last should only return 1 instead of all of them, but if they're different methods that would sound like a bug.

 

Matt


From: [email protected] [mailto:[email protected]] On Behalf Of Ben Lucyk
Sent: Tuesday, November 29, 2005 8:16 AM
To: [email protected]
Subject: Re: [flexcoders] concurrency="last"

 

Hey Rich,

 

I haven't tested, but looks to be that concurrency is set per service:

 

"Value that indicates how to handle multiple calls to the same service. The default value is multiple. The following values are permitted..."
 

I guess you could work around it by defining a service for each method if you really needed this functionality, but I'm curious about this one as well.  Does anyone have any more details as to how Flex "...cancels any previous requests, while honoring the new one" for a concurrency="last" situation?
 

-Ben
 

On 11/29/05, Rich Tretola <[EMAIL PROTECTED] > wrote:

Does the service concurrency work on a per method basis or per service ?

Here is the situation (Flex 1.5):

I have a piece of data in my model that when changed will fire off 4 method calls using the same service (Remote object call to java) with concurrency="last".  It seems that I never get all 4 responding and  that the concurrency is per service id ?   Am I correct in this ?  I always assumed that the concurrency set to last would be last call to a specific methd to avoid double calls to a specific method and not a specific service.

Rich


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com


YAHOO! GROUPS LINKS

 

 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



SPONSORED LINKS

Web site design development

Computer software development

Software design and development

Macromedia flex

Software development best practice

 

 


YAHOO! GROUPS LINKS

 

 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to