Skip to content

Conversation

@antbewes
Copy link

Without quotes I was getting error on windows:
PS C:\projects\learn\first-camel-integration> mvn camel:run -Dcamel.main.durationMaxMessages=2 -->
[ERROR] Unknown lifecycle phase ".main.durationMaxMessages=2". ...

Description

Target

  • I checked that the commit is targeting the correct branch (Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.
  • I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

Without quotes I was getting error on windows:
PS C:\projects\learn\first-camel-integration> mvn camel:run -Dcamel.main.durationMaxMessages=2
-->
[ERROR] Unknown lifecycle phase ".main.durationMaxMessages=2". ...
@davsclaus
Copy link
Contributor

I think its better to add this as a new example for windows users. Also do you really need to quote both the key and the value, can it not just be "aaa.bbb=123"

@davsclaus
Copy link
Contributor

okay since this is a intro then lets change the run command to not have that extra command that is just a bit confusing. Instead we tell the user that they can exit via ctrl + c as any other Java application.

@davsclaus
Copy link
Contributor

b49d5f2

@davsclaus davsclaus closed this Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants