English 中文(简体)
Mule 3:如何从MuleMessage获得吉大港山区的头盔
原标题:Mule 3: How to get the HTTP headers from a MuleMessage
  • 时间:2012-05-15 14:58:51
  •  标签:
  • java
  • mule

鉴于根据吉大港定居地申请产生的<代码>MuleMessage物体,您如何接获该请求的吉大港定居地港定居人士? I m 感谢。

最佳回答

吉大港山区的头目被储存为隐形性质。 他们的财产名称以<编码>为准。 例如:

MuleMessage message = ...
String contentType = (String)message.getInboundProperty("http.Content-Type");

但是,在“财产名称空间”的“http://www.status”和“http://www.request”的“URL”中,还有与吉卜赛人有关的其他财产。 因此,虽然可以检索个人头盔,但没有可靠和自动化的办法来获得所有吉大港定居人士的list><>>。

This issue is slated to be fixed in Mule 3.3. Mule 3.3 will organize HTTP-related properties better. For example, all headers will be stored in a property named "http.headers", and all query string parameters will be parsed and stored in "http.query.params".

问题回答

所有的吉大港定居地头目都位于的内限范围。

您也可以通过发出标识信息加以核对。

<logger message="=============test= #[message.inboundProperties]" level="INFO" doc:name="Logger"/>

让我知道,这是否对你有利。

成就





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签