상세 컨텐츠

본문 제목

BW6의 EMS Receiver Map message type handling

TIBCO/BW6

by 야솔아빠 2021. 3. 4. 11:11

본문

반응형

1. EMS receiver main properties

  • Name :  SeqQueueCreateEvent
  • Messaging Style :  Topic
  • Destination :  $sys.monitor.queue.create
  • Message Type :  Map

2. Create a schema file.

- 빨간색 부분을 generate 된 xsd 파일에 추가한다.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns:tibex="http//www.tibco.com/bpel/2007/exttension.......>

  <xsd:complexType name="Fields" tibex:source="bw.jms.receive">
    <xsd:sequence>
     <xsd:element name="message_bytes" type="xsd:base64Binary"/>
    </xsd:sequence>   
  </xsd:complexType>
</xsd:schema>

 

3. Outputt Editor of JMS Receive

Link a new schema to output editor of Jms receiver.

Output Editor >  Select body element type definition > choose a new schema

 

4. example to get data from map message

$SeqQueueCreateEvent/DynamicProperties/ns30:property[ns30:name="target_name"]/ns30:value

 

 

반응형

관련글 더보기

댓글 영역