Mule 路径修复中的非法字符?

Mule 路径修复中的非法字符?,mule,Mule,我有一个https:outbound端点,我正在尝试在AnypointStudio中设置路径,但由于用户名和密码使用了非法字符,因此它不允许我设置完整路径。我想发布到一个端点,并让http.request包含完整的url 我的路径是这个URLhttps://http.testserver1.host.com:9126/TestAttempt?Username=Admin$$1&Password=0de5z_Wdfjf$54&Content=te 我曾尝试在消息属性转换器中使用如下设置用户、传递和

我有一个https:outbound端点,我正在尝试在AnypointStudio中设置路径,但由于用户名和密码使用了非法字符,因此它不允许我设置完整路径。我想发布到一个端点,并让http.request包含完整的url

我的路径是这个URL
https://http.testserver1.host.com:9126/TestAttempt?Username=Admin$$1&Password=0de5z_Wdfjf$54&Content=te

我曾尝试在消息属性转换器中使用如下设置用户、传递和内容

 <https:outbound-endpoint exchange-pattern="request-response" method="POST" doc:name="HTTPS" host="http.testserver1.host.com" port="9126" path="TestAttempt" connector-ref="HTTP_HTTPS">
             <message-properties-transformer> 
                <add-message-property key="Username" value="Admin$$1"/>
                <add-message-property key="Password" value="0de5z_Wdfjf$54!"/>
                <add-message-property key="Content" value="test"/>
             </message-properties-transformer>

但它似乎无法接收用户并通过

有没有工作可以做,或者我怎样才能做到这一点


谢谢

你可以把
放在
之前,在使用时
对我不起作用,我知道你正在使用,请尝试新的示例。它工作正常:用户名和密码被传递到receiverFlow。这对我不起作用。我正在使用Mule 3.2.1,可能这就是问题所在。您的入站和出站端点上也缺少结束标记。看起来markdown错误地翻译了我的代码(显示不完整)。我在两个不同的浏览器中以不同的外观打开这篇文章。我的代码在编辑时正确显示。您可以通过单击“改进此答案”获得完整的代码
<flow name="senderFlow">
    <http:listener config-ref="HTTP_Listener_Configuration1" path="/escape" allowedMethods="GET" doc:name="HTTPS"/>
    <message-properties-transformer doc:name="Message Properties">
        <add-message-property key="Username" value="Admin$$1"/>
        <add-message-property key="Password" value="0de5z_Wdfjf$54!"/>
        <add-message-property key="Content" value="test"/>
    </message-properties-transformer>
    <http:request config-ref="HTTP_Request_Configuration1" path="/escape" method="POST" doc:name="HTTPS"/>
</flow>
<flow name="receiverFlow">
    <http:listener config-ref="HTTP_Listener_Configuration1" path="/escape" allowedMethods="POST" doc:name="HTTPS"/>
    <logger level="INFO" doc:name="Logger"/>
</flow>
<flow name="senderFlow" doc:name="senderFlow">
    <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8082" path="escape" doc:name="HTTP"/>
    <message-properties-transformer doc:name="Message Properties">
        <add-message-property key="Username" value="Admin$$1"/>
        <add-message-property key="Password" value="0de5z_Wdfjf$54!"/>
        <add-message-property key="Content" value="test"/>
    </message-properties-transformer>
    <http:outbound-endpoint exchange-pattern="request-response" host="localhost" port="8083" path="escape" method="POST" doc:name="HTTP"/>
</flow>
<flow name="receiverFlow" doc:name="receiverFlow">
    <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8083" path="escape" doc:name="HTTP"/>
    <logger level="INFO" doc:name="Logger"/>
</flow>