1 | String getVarName() {↵ | | 1 | String getTopic() {↵
|
2 | return getPropertyAsString(VAR_NAME);↵ | | 2 | return getPropertyAsString(TOPIC);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | ↵ | | 4 | /**↵
|
| | | 5 | * set the username to login into the jms server if needed↵
|
| | | 6 | * ↵
|
| | | 7 | * @param user↵
|
| | | 8 | */↵
|
5 | public void setFormat(String format) {↵ | | 9 | public void set↵
|
6 | setProperty(FORMAT, format);↵ | | |
|
7 | }↵ | | |
|
|
8 | public String getFormat() {↵ | | |
|
9 | ↵ | | 10 | Username(String user) {↵
|
| | | 11 | setProperty(PRINCIPAL, user);↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * return the username used to login to the jms server↵
|
| | | 15 | * ↵
|
| | | 16 | * @return the username used to login to the jms server↵
|
| | | 17 | */↵
|
| | | 18 | public String getUsername() {↵
|
10 | return getPropertyAsString(FORMAT);↵ | | 19 | return getPropertyAsString(↵
|
11 | | | 20 | PRINCIPAL);↵
|
| | | 21 |
|