0
から値:春の注釈私はJMSリスナー、次のように構成している私の春のブートアプリケーションで設定
@Component
public class Consumer {
@JmsListener(destination = "image.index.queue")
public void receiveQueue(IndexRequest indexRequest) {
...
}
}
設定から宛先名「image.index.queue」を供給するためにどのように
(application.properties)の代わりにハードのコード化された値?
型の不一致ファイル:建設次の値から文字列 – alexanoid
に変換することはできません動作します。@JmsListener(宛先= "$ {jmx.image.index.queue}") – alexanoid