spring xd - nameExpression: option named 'nameExpression' is not supported -
i trying deploy 1 stream in springxd.
stream create --name myfilestream --definition "http --port=9000 | file --nameexpression=payload.trim()" --deploy
but error getting below:
command failed org.springframework.xd.rest.client.impl.springxdexception: error option(s) module file of type sink: nameexpression: option named 'nameexpression' not supported
when remove --nameexpression=payload.trim()
,i able create stream..
any suggestion..where problem..
what version using? wasn't added file sink until 1.2.
use 1.2.0.release.
https://jira.spring.io/browse/xd-2717
also, when using nameexpression
, need direxpression
.
Comments
Post a Comment