0
안녕하세요 저는 스위치 및 dblookup 중재자로 맞춤 시퀀스를 만들었습니다. 하나의 경우에 클라이언트에 메시지를 표시하고 싶습니다. Respond Mediators를 시도했지만 cURL을 사용하여 API를 호출 할 때 메시지를 출력하지 않습니다. 나는 단지 HTTP OK를 얻고있다. 이것에 접근하는 방법에 대한 제안? 특정 경우wso2 esb 중재자를 사용하여 클라이언트에 메시지를 표시하는 방법
* Hostname was NOT found in DNS cache
* Trying localhost...
* Connected to localhost (localhost) port 8280 (#0)
> GET /drewtest/1.0/users/103 HTTP/1.1
> User-Agent: curl/7.38.0
> Host: localhost:8280
> Authorization: Bearer 53f983bc15a4b19e5d929fba4d4e9ada
> Accept: application/json
>
< HTTP/1.1 200 OK
< Host: localhost:8280
< Accept: application/json
< Date: Thu, 27 Nov 2014 03:29:24 GMT
* Server WSO2-PassThrough-HTTP is not blacklisted
< Server: WSO2-PassThrough-HTTP
< Transfer-Encoding: chunked
<
* Connection #0 to host localhost left intact
페이로드 조정자에서 메시지의 정적 값을 설정할 수 있습니다. –
가능합니다. payload mediator에서 정의한 것은 시퀀스를 통해 흐르는 현재 메시지를 덮어 씁니다. – Ratha