Questions tagged [spring-messaging]

A Spring Framework module providing APIs and base classes for messaging.

Spring Messaging is a module of the Spring Framework () providing APIs and fundamental classes for other Spring messaging projects such as and .

258 questions
0
votes
1 answer

Artemis support as StompBrokerRelay in Spring UserDestination

I was able to connect Artemis as StompBrokerRelay successfully but i had to use config.setPathMatcher(new AntPathMatcher(".")); And all my queues start with jms.queue.xxxx When i tried to send private messages to users using the /user/…
Shahbour
  • 1,323
  • 1
  • 16
  • 42
0
votes
2 answers

Spring user destinations

I have a spring boot application that will have publish to user defined destination channels as such: @Autowired private SimpMessagingTemplate template; public void send() { //.. String uniqueId = "123"; …
ron
  • 239
  • 3
  • 18
0
votes
0 answers

Using Spring integration for messaging between two classes in the same application

I am trying to pass string messages from one class to another (from Class1 to Class2) within the same application so I am trying to solve it using Spring Integration. My context.xml file looks like below:
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
2 answers

Communication between two java classes using Spring

I have two java classes that implements Runnable within the same application, let's say A and B classes. These two classes share a BlockingQueue to pass some data. Class A sends data to class B through BlockingQueue. Then class B takes the data and…
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
1 answer

Active MQ Identifying the address of the Queue for ActiveMQ

@Component public class OrderItemListener{ @Autowired private final StoreService storeService; @JmsListener(destination = "order.item.queue") public void receiveOrder(String message) { //processing } } This is my POJO…
user962206
  • 15,637
  • 61
  • 177
  • 270
0
votes
1 answer

Cannot send messages over stomp using Spring messaging

I am trying to send and handle message from browser over STOPM using spring-messaging. But message is not sent. Some code now: @Configuration @EnableWebSocketMessageBroker public class WebSocketStompConfig extends…
zadora
  • 1
  • 1
0
votes
0 answers

JPA lazy loading using STOMP Spring Messaging

Spring provides the OpenEntityManagerInViewFilter to enable lazy loading of objects during the view phase, but what if I would like to use it in a message passing architecture like STOMP over websockets? If I need to return an entity that has lazy…
0
votes
0 answers

Spring Boot JMS & Batch

Previously everything worked properly. Today I configured Spring Batch together with my Spring Boot application and faced an issue with application.properties. I have following properties encrypted with…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

how can multiple users send message with rabbitmq using spring boot

My aim: i have multiple jobs(Processes) running parallely (seperate threads). i want to implement messaging so that each process can send message(if required) to rabbitmq Server. now i have this @Configuration public class SenderConfiguration { …
lesnar
  • 2,400
  • 7
  • 41
  • 72
0
votes
1 answer

.properties file that contains spring-messages encoding error

In my web application(built on Spring Tool Suite) I maintain 2 .properties files to keep the website messages in greek and english language. I face the following problem. Sometimes in the file containing the greek messages, all messages loose…
rpd
  • 462
  • 1
  • 9
  • 24
0
votes
1 answer

Spring messaging + security how to login throught websockets?

I am developing a server with spring-messaging and STOMP over sockJs. I want to make authorization trhought websockets. So from client i did send some token, then i get needle user by token and i want to associate my session with this user, i did…
satween
  • 13
  • 5
0
votes
1 answer

Spring MVC can't access @Autowired fields from @MessageMapping annotated methods

I've been setting up my Spring 4 MVC application to work with STOMP over WebSocket and so far i've succeeded, my servlet can handle and dispatch STOMP messages without problems. However, i've encountered an annoying problem when handling these…
0
votes
2 answers

How to send plain unescaped String with Spring's MessageSendingOperations?

I'm using Spring Messaging and Spring Socket 4.0.5.RELEASE. I would like to send a plain String message to the broker. It turns out that such a String is escaped, e.g. when doing the following on the server side: private…
Abdull
  • 26,371
  • 26
  • 130
  • 172
0
votes
1 answer

Spring Boot on Heroku Integration.xml not found

I am attempting to deploy a Spring Boot app on Heroku following this guide: http://codingricky.com/booting-spring-boot-into-heroku/ (thanks Ricky Yim) It seems pretty straight forward, but my app includes an integration.xml as required by the…
jordan.baucke
  • 4,308
  • 10
  • 54
  • 77
0
votes
2 answers

configuration spring MVc websocket messaging spring security

I customized the tutorial http://assets.spring.io/wp/WebSocketBlogPost.html into my application . When sending message from the application to the server using SimpMessageSendingOperations.convertAndSendToUser("fabrice","/stayawakews2/shakebaby",…
romu31
  • 821
  • 9
  • 17
1 2 3
17
18