test510.txml 849 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0"?>
  2. <!-- test that Basic HTTP messages go into external queue. -->
  3. <scxml initial="s0" conf:datamodel="" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  4. <state id="s0">
  5. <onentry>
  6. <send event="timeout" delay="30s"/>
  7. <send event="test" conf:basicHTTPAccessURITarget="" type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor"/>
  8. <!-- this creates an internal event -->
  9. <raise event="internal"/>
  10. </onentry>
  11. <!-- we should get 'internal' first, then 'test' -->
  12. <transition event="internal" target="s1"/>
  13. <transition event="*" conf:targetfail=""/>
  14. </state>
  15. <state id="s1">
  16. <transition event="test" conf:targetpass=""/>
  17. <transition event="*" conf:targetfail=""/>
  18. </state>
  19. <conf:pass/>
  20. <conf:fail/>
  21. </scxml>