Skip to content

Commit

Permalink
Spring Boot Quartz SchedulerFactoryBeanCustomizer add note (#8753)
Browse files Browse the repository at this point in the history
* Add note

* Better wording
  • Loading branch information
adinauer committed Jan 12, 2024
1 parent b30ad5c commit b333996
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/platforms/java/common/integrations/quartz.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,9 @@ trigger.setJobDataAsMap(Collections.singletonMap(SENTRY_SLUG_KEY, "monitor_slug_
Setting the monitor slug on the `Trigger` will override what is set on the `JobDetail`. This also means you can set up a separate monitor per `Trigger`.

</Note>

<Note>

Setting a global job listener using a `SchedulerFactoryBeanCustomizer` in Spring Boot, will override the listener set by Sentry. For Sentry to work properly, you need to add a new `SentryJobListener` instance to the global job listeners.

</Note>

1 comment on commit b333996

@vercel
Copy link

@vercel vercel bot commented on b333996 Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs.sentry.dev
sentry-docs-git-master.sentry.dev
docs.sentry.io

Please sign in to comment.