mirror of https://github.com/knative/docs.git
Update camel examples to reflect recent changes (#1976)
This commit is contained in:
parent
cea5f75839
commit
31da1807b9
|
|
@ -20,6 +20,7 @@ spec:
|
|||
name: Content-Type
|
||||
constant: application/json
|
||||
sink:
|
||||
apiVersion: messaging.knative.dev/v1alpha1
|
||||
kind: InMemoryChannel
|
||||
name: camel-test
|
||||
ref:
|
||||
apiVersion: messaging.knative.dev/v1alpha1
|
||||
kind: InMemoryChannel
|
||||
name: camel-test
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ spec:
|
|||
- log:
|
||||
message: "Forwarding: ${body}"
|
||||
sink:
|
||||
apiVersion: messaging.knative.dev/v1alpha1
|
||||
kind: InMemoryChannel
|
||||
name: camel-test
|
||||
ref:
|
||||
apiVersion: messaging.knative.dev/v1alpha1
|
||||
kind: InMemoryChannel
|
||||
name: camel-test
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ spec:
|
|||
- transform:
|
||||
simple: "${body.text}"
|
||||
sink:
|
||||
apiVersion: messaging.knative.dev/v1alpha1
|
||||
kind: InMemoryChannel
|
||||
name: camel-test
|
||||
ref:
|
||||
apiVersion: messaging.knative.dev/v1alpha1
|
||||
kind: InMemoryChannel
|
||||
name: camel-test
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ spec:
|
|||
- set-body:
|
||||
constant: Hello world!
|
||||
sink:
|
||||
apiVersion: messaging.knative.dev/v1alpha1
|
||||
kind: InMemoryChannel
|
||||
name: camel-test
|
||||
ref:
|
||||
apiVersion: messaging.knative.dev/v1alpha1
|
||||
kind: InMemoryChannel
|
||||
name: camel-test
|
||||
|
|
|
|||
Loading…
Reference in New Issue