0
<object-to-string-transformer doc:name="Object to String"/>
을 자바 클래스에서 읽는 법.자바 클래스의 노새에서 메시지 읽기
내 구성은 다음과 같습니다
<flow name="file-processFlow3" doc:name="file-processFlow3">
<jms:inbound-endpoint doc:name="JMS" queue="OrchestratorQueue" connector-ref="Active_MQ1" responseTimeout="0" >
<jms:transaction action="ALWAYS_BEGIN" timeout="10000"/>
</jms:inbound-endpoint>
<object-to-string-transformer doc:name="Object to String"/>
<component doc:name="Java"/>
<logger message="#[message.payload]" level="INFO" doc:name="Logger"/>
</flow>
내가 내 자바 클래스 (<component doc:name="Java"/>
)에 입력 메시지를 읽을 수있는 방법을 모르겠어요. 모든 클래스를 가정 해, 아직 구현되지 않았습니다. 구현 방법을 모르겠습니다. 도와주세요.
감사합니다.
답해 주셔서 감사합니다. 그러나 여러 가지 방법이 있습니다. –
여러 가지 경우에 대한 대답이 업데이트되었습니다. –