Sorry should have been a little clearer I go it working
What I wanted for a bean timeOut outside the main bean which was set by a setter.
This si the code that works
inside the main bean
So in
Java code I have
Then i parse it to a
string it seems that spring has no problem with
But does with
Hope this helps someone else