Skip to content

Commit

Permalink
Add profile on a test component EntityChangedJMSListener
Browse files Browse the repository at this point in the history
  • Loading branch information
assadriaz committed Jun 19, 2024
1 parent ebcfda9 commit 3eb29a0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Profile;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

Expand All @@ -31,6 +32,7 @@
* Receive entity changed messages sent from tiamat for verifying tests.
*/
@Component
@Profile("test")
public class EntityChangedJMSListener {

private static Set<EntityChangedEvent> events = new HashSet<>();
Expand Down

0 comments on commit 3eb29a0

Please sign in to comment.