-1
Konuyu bir mesaj gönderdiğimde, işlemcinin neden 10 değişim aldığını? Bu benim kodum.Bir konuyu dinlemek için Camel rotasını kullanın
public class RouteTest extends RouteBuilder {
public void configure() throws Exception {
from("activemq:topic:Topic.ansyncMessage").process(new Processor() {
public void process(Exchange exchange) throws Exception {
System.out.println(exchange.getIn().getBody());
}
});
}
}
yerine bir ekran bağlantı daha kod etiketleri ile gündeme kodunuzu ekleyiniz, insanlar çok daha yardımcı olasılığı artacaktır. – ewanc
Çünkü muhtemelen program 10 kez başladı. –