11.5. 데이터 읽기 또는 쓰기를 위해 URI 구성
아래 경로에서 Camel은 지정된 websocket 연결에서 읽습니다.
from("atmosphere-websocket:///servicepath") .to("direct:next");
동일한 Spring 샘플이 있습니다.
<camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="atmosphere-websocket:///servicepath"/> <to uri="direct:next"/> </route> </camelContext>
아래 경로에서 Camel은 지정된 websocket 연결에서 읽습니다.
from("direct:next") .to("atmosphere-websocket:///servicepath");
동일한 Spring 샘플이 있습니다.
<camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="direct:next"/> <to uri="atmosphere-websocket:///servicepath"/> </route> </camelContext>