我有以下骡子流程。我想要实现的只是将SOAP消息放入JMS队列。
JMS队列中的消息内容为
todoItemTable.read<TodoItem>().then((results) => {
for (let i of results) {
this.todos.push(i.text);
}
});
我在变压器中缺少什么?
org.mule.module.xml.stax.ReversibleXMLStreamReader@3c7e9afa
答案 0 :(得分:0)
这是一个转换错误,您可以使用file_toy (master #) $ cargo build
Compiling file_toy v0.1.0 (file:///Users/houghton/playground/file_toy)
src/main.rs:27:21: 27:36 error: mismatched types:
expected `&_`,
found `core::option::Option<_>`
(expected &-ptr,
found enum `core::option::Option`) [E0308]
src/main.rs:27 Some(ref mut n) => {
^~~~~~~~~~~~~~~
src/main.rs:27:21: 27:36 help: run `rustc --explain E0308` to see a detailed explanation
src/main.rs:30:21: 30:25 error: mismatched types:
expected `&_`,
found `core::option::Option<_>`
(expected &-ptr,
found enum `core::option::Option`) [E0308]
src/main.rs:30 None => {
^~~~
src/main.rs:30:21: 30:25 help: run `rustc --explain E0308` to see a detailed explanation
src/main.rs:28:27: 28:30 error: the type of this value must be known in this context
src/main.rs:28 n.add( i + 1, s );
^~~
error: aborting due to 3 previous errors
error: Could not compile `file_toy`.
使其正常工作: -
object-to-string-transformer
在您的JMS出站之前
答案 1 :(得分:0)
在记录器之前,为您添加- name: Build docker images
docker_image:
name: "{{item.name}}"
path: "{{build_folder}}/dockerfiles/{{item.name}}"
dockerfile: "{{item.name}}.Dockerfile"
state: build
tag: "{{private_docker_registry}}/{{item.name}}"
when: "{{ansible_host_vars['tags'][image1]}}" is defined
with_items:
- image1
- image2
- image3
以查看课程<object-to-string-transformer doc:name="Object to String"/>
的字符串内容