actually i need to get the value from each callback. for example i have a list which contain 10 items. So that means there will be 10 call backs. So each call back i need to access the list and get relevant value. For example for the 1st iteration i need to get 1st value of list, but when callback comes the i value of iteration may changed to different value. So how do i know 1st iteration callback comes which items to get from the list?
I am calling Rest API using AsyncRestTemplate inside a loop. Once callback returns i need to access main thread values. But the issue is i am calling AsyncRestTemplate inside a loop as below .
inside callback i need t oaccess list values. but issue is since this runs inside a loop when callback comes loop may in a different iteration. So how can i access the same values when i am calling exchange methos ?
I have installed ruby in centos 7. Then i try to ran the tmuxinator it gives me below error. How to solve this issue?
output for ruby -v is ruby 2.2.8p477 (2017-09-14 revision 59906) [x86_64-linux
output for rpm -q ruby is ruby-220.127.116.118-30.el7.x86_64
I try to remove old dependencies using rpm -e ruby , but it gives me below error. error: Failed dependencies: /usr/bin/ruby is needed by (installed) rubygems-18.104.22.168-30.el7.noarch /usr/bin/ruby is needed by (installed) ruby-irb-22.214.171.1248-30.el7.noarch /usr/bin/ruby is needed by (installed) rubygem-rdoc-4.0.0-30.el7.noarch
I have a jason request as below, i need to get a each object from request. I can use Jackson library to get map objects, but there is a data at the beginning, due to that i am unable to get the object.