Questions tagged [jbatch]

JBatch is an IBM led JSR that's slated to be included into the Java EE 7 platform,

21 questions
0
votes
1 answer

Java EE 7 batch API (JSR-352): it's possible to stop a single step and not all the job?

Note: JSR-352, Java EE, on wildfly 17.0.1, no spring I have defined the following job in xml:
Vokail
  • 630
  • 8
  • 27
0
votes
1 answer

Jberet, manually set writecount on batchlet

I wonder if is possible to manually set writecount property on a batchlet in order to log result on STEP_EXECUTION.WRITECOUNT field's table. This is my pseudo code @Inject EntityManager entityManager; @Inject private Logger…
Fabrizio Stellato
  • 1,727
  • 21
  • 52
0
votes
1 answer

JBeret and JSR352, some clarifications on restart and persistentdata

I'm currently using JBeret as the batch implementation of JSR 352 spec. FIRST ISSUE I'm tring to reproduct a chunk job where processor fails and store restart position so I can restart from last succesfull index. This is the Reader…
Fabrizio Stellato
  • 1,727
  • 21
  • 52
0
votes
1 answer

Create a job from Jms message receive

Using wildfly 15 and only JavaEE (no spring) I need to consume messages from a Jms queue, in order and create for every message a new job using Jbatch, in sequence, without job overlap. For example: JMS queue: --> msgC --> msgB --> msgA Jbatch: on…
Vokail
  • 630
  • 8
  • 27
0
votes
0 answers

Query jbatch tables

JBatch writes job instance execution data into tables. For my application I manually created them and configured the application server to use them. That works fine. However, since the batchstatus of some executioninstances is FAILED I would like to…
Klave
  • 23
  • 5
0
votes
1 answer

JobRepository on JBatch

I need to configure a job-repository in jbatch, beacause I need to set a custom datasource. I'm not able to understand how code its xml and where I have to put it in my project.
Irazza
  • 311
  • 2
  • 10
1
2